Updated the definition of the GET /lastupdated endpoint for the OpenAPI specification document in the library target.
This commit is contained in:
@@ -229,21 +229,21 @@ paths:
|
|||||||
description: Service is not available.
|
description: Service is not available.
|
||||||
/lastupdated:
|
/lastupdated:
|
||||||
get:
|
get:
|
||||||
description: Gets a timestamp when the Amiibo data was last updated.
|
|
||||||
operationId: getLastUpdated
|
|
||||||
tags:
|
tags:
|
||||||
- Service
|
- Service
|
||||||
|
summary: Get the date of last updated.
|
||||||
|
description: |
|
||||||
|
Gets an ISO-formatted date+time when the Amiibo data was last updated.
|
||||||
|
|
||||||
|
Please refer to [the documentation of the endpoint](https://www.amiiboapi.com/docs/#lastUpdated) for further information.
|
||||||
|
operationId: getLastUpdated
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Successful response returning the object that contains the date and time when the database was last updated.
|
description: Successful response returning an object that contains a date and time when the database was last updated.
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/LastUpdated'
|
$ref: '#/components/schemas/LastUpdated'
|
||||||
'400':
|
|
||||||
description: A last updated bad request.
|
|
||||||
'404':
|
|
||||||
description: A last updated not found.
|
|
||||||
'500':
|
'500':
|
||||||
description: Service is not available.
|
description: Service is not available.
|
||||||
components:
|
components:
|
||||||
|
|||||||
Reference in New Issue
Block a user