Updated the definition of the GET /lastupdated endpoint for the OpenAPI specification document in the library target.

This commit is contained in:
2025-10-14 23:27:36 +02:00
parent 0bad58f00b
commit 1e8a9faa39
+7 -7
View File
@@ -229,21 +229,21 @@ paths:
description: Service is not available.
/lastupdated:
get:
description: Gets a timestamp when the Amiibo data was last updated.
operationId: getLastUpdated
tags:
- 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:
'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:
application/json:
schema:
$ref: '#/components/schemas/LastUpdated'
'400':
description: A last updated bad request.
'404':
description: A last updated not found.
'500':
description: Service is not available.
components: