Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ticket data request urls and responses #72

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/v1/get-ticket-data/get-achievement-ticket-stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A call to `API_GetTicketData` in this manner will retrieve ticket stats for an a

## HTTP Request

<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData?a=9</SampleRequest>
<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData.php?a=9</SampleRequest>

### Query Parameters

Expand Down
6 changes: 3 additions & 3 deletions docs/v1/get-ticket-data/get-developer-ticket-stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A call to `API_GetTicketData` in this manner will retrieve ticket stats for a de

## HTTP Request

<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData?u=Hexadigital</SampleRequest>
<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData.php?u=Hexadigital</SampleRequest>

### Query Parameters

Expand Down Expand Up @@ -72,7 +72,7 @@ if (response is NetworkResponse.Success) {
"Closed": 17,
"Resolved": 27,
"Total": 44,
"URL": "https://retroachievements.org/ticketmanager.php?u=MockUser"
"URL": "https://retroachievements.org/user/MockUser/tickets"
}
```

Expand All @@ -83,7 +83,7 @@ if (response is NetworkResponse.Success) {
"closed": 17,
"resolved": 27,
"total": 44,
"url": "https://retroachievements.org/ticketmanager.php?u=MockUser"
"url": "https://retroachievements.org/user/MockUser/tickets"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/v1/get-ticket-data/get-game-ticket-stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A call to `API_GetTicketData` in this manner will retrieve ticket stats for a ga

## HTTP Request

<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData?g=1</SampleRequest>
<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData.php?g=1</SampleRequest>

### Query Parameters

Expand Down
2 changes: 1 addition & 1 deletion docs/v1/get-ticket-data/get-most-recent-tickets.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A call to `API_GetTicketData` in this manner will retrieve ticket metadata infor

## HTTP Request

<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData?o=0&c=10</SampleRequest>
<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData.php?o=0&c=10</SampleRequest>

### Query Parameters

Expand Down
2 changes: 1 addition & 1 deletion docs/v1/get-ticket-data/get-most-ticketed-games.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A call to `API_GetTicketData` in this manner will retrieve the games on the site

## HTTP Request

<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData?f=1</SampleRequest>
<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData.php?f=1</SampleRequest>

### Query Parameters

Expand Down
2 changes: 1 addition & 1 deletion docs/v1/get-ticket-data/get-ticket-by-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A call to `API_GetTicketData` in this manner will retrieve ticket metadata infor

## HTTP Request

<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData?i=12345</SampleRequest>
<SampleRequest httpVerb="GET">https://retroachievements.org/API/API_GetTicketData.php?i=12345</SampleRequest>

### Query Parameters

Expand Down