Skip to content

Commit

Permalink
fix: ticket data request urls and responses
Browse files Browse the repository at this point in the history
  • Loading branch information
joshraphael committed Jan 9, 2025
1 parent 1986957 commit 395f0b5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
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

0 comments on commit 395f0b5

Please sign in to comment.