https://github.com/patrickhulce/mock-zendesk
https://github.com/patrickhulce/mock-zendesk
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/patrickhulce/mock-zendesk
- Owner: patrickhulce
- Created: 2016-04-06T03:11:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-09T17:34:10.000Z (about 10 years ago)
- Last Synced: 2025-05-26T19:05:39.011Z (about 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mock-zendesk
Mocking Zendesk API
## Usage
### Configuration
Determine the behavior of `/oauth/authorizations/new`. Valid options are `echo` and `redirect`.
```
curl -X POST http://localhost:3100/_configure/auth-behavior --data '"redirect"'
```
Determine the paging behavior of `/api/v2/incremental/tickets.json`. Determines the number of tickets per page
```
curl -X POST http://localhost:3100/_configure/page-size --data '20'
```
Determine the tickets returned by `/api/v2/incremental/tickets.json` and `/api/v2/tickets/:ticketId/comments.json`. Uses `tickets.json` by default.
```
curl -X POST http://localhost:3100/_configure/tickets --data '[{}, {}]'
```