Cleaned up createdAt schema

This commit is contained in:
Nicholas Wallace 2024-02-19 21:54:35 +00:00
parent fe33b4c6a8
commit 0aba5e62c8

View file

@ -19,6 +19,11 @@
* type: string * type: string
* description: What kind of media the library item contains. Will be book or podcast. * description: What kind of media the library item contains. Will be book or podcast.
* enum: [book, podcast] * enum: [book, podcast]
* createdAt:
* type: integer
* description: The time (in ms since POSIX epoch) when the item was created.
* example:
* - 1633522963509
* library: * library:
* type: object * type: object
* properties: * properties:
@ -56,10 +61,7 @@
* settings: * settings:
* $ref: '#/components/schemas/librarySettings' * $ref: '#/components/schemas/librarySettings'
* createdAt: * createdAt:
* type: integer * $ref: '#/components/schemas/createdAt'
* description: The time (in ms since POSIX epoch) when the library was created. (Read Only)
* example:
* - 1633522963509
* lastUpdate: * lastUpdate:
* type: integer * type: integer
* description: The time (in ms since POSIX epoch) when the library was last updated. (Read Only) * description: The time (in ms since POSIX epoch) when the library was last updated. (Read Only)
@ -1531,10 +1533,7 @@
* description: The time (in ms since POSIX epoch) when the episode started downloading. Will be null if it has not started downloading yet. * description: The time (in ms since POSIX epoch) when the episode started downloading. Will be null if it has not started downloading yet.
* type: [string, 'null'] * type: [string, 'null']
* createdAt: * createdAt:
* description: The time (in ms since POSIX epoch) when the podcast episode download request was created. * $ref: '#/components/schemas/createdAt'
* type: integer
* example:
* - 1668122813409
* finishedAt: * finishedAt:
* description: The time (in ms since POSIX epoch) when the episode finished downloading. Will be null if it has not finished. * description: The time (in ms since POSIX epoch) when the episode finished downloading. Will be null if it has not finished.
* type: [string, 'null'] * type: [string, 'null']
@ -2318,10 +2317,7 @@
* example: * example:
* - 1669623431313 * - 1669623431313
* createdAt: * createdAt:
* description: The time (in ms since POSIX epoch) when the playlist was created. * $ref: '#/components/schemas/createdAt'
* type: integer
* example:
* - 1669623431313
* playlistExpanded: * playlistExpanded:
* type: object * type: object
* properties: * properties:
@ -2361,10 +2357,7 @@
* example: * example:
* - 1669623431313 * - 1669623431313
* createdAt: * createdAt:
* description: The time (in ms since POSIX epoch) when the playlist was created. * $ref: '#/components/schemas/createdAt'
* type: integer
* example:
* - 1669623431313
* playlistItem: * playlistItem:
* type: object * type: object
* properties: * properties:
@ -2882,10 +2875,7 @@
* example: * example:
* - 1668296147437 * - 1668296147437
* createdAt: * createdAt:
* description: The time (in ms since POSIX epoch) when the user was created. * $ref: '#/components/schemas/createdAt'
* type: integer
* example:
* - 1666543632566
* permissions: * permissions:
* $ref: '#/components/schemas/userPermissions' * $ref: '#/components/schemas/userPermissions'
* librariesAccessible: * librariesAccessible:
@ -2958,10 +2948,7 @@
* example: * example:
* - 1668296147437 * - 1668296147437
* createdAt: * createdAt:
* description: The time (in ms since POSIX epoch) when the user was created. * $ref: '#/components/schemas/createdAt'
* type: integer
* example:
* - 1666543632566
* permissions: * permissions:
* $ref: '#/components/schemas/userPermissions' * $ref: '#/components/schemas/userPermissions'
* librariesAccessible: * librariesAccessible:
@ -3004,10 +2991,7 @@
* example: * example:
* - 1668296147437 * - 1668296147437
* createdAt: * createdAt:
* description: The time (in ms since POSIX epoch) when the user was created. * $ref: '#/components/schemas/createdAt'
* type: integer
* example:
* - 1666543632566
* userPermissions: * userPermissions:
* type: object * type: object
* properties: * properties:
@ -3065,10 +3049,7 @@
* example: * example:
* - 16 * - 16
* createdAt: * createdAt:
* description: The time (in ms since POSIX epoch) when the bookmark was created. * $ref: '#/components/schemas/createdAt'
* type: integer
* example:
* - 1668120083771
* *
* backup: * backup:
* type: object * type: object
@ -3114,10 +3095,7 @@
* example: * example:
* - 7776983 * - 7776983
* createdAt: * createdAt:
* description: The time (in ms since POSIX epoch) when the backup was created. * $ref: '#/components/schemas/createdAt'
* type: integer
* example:
* - 1668411000329
* serverVersion: * serverVersion:
* description: The version of the server when the backup was created. * description: The version of the server when the backup was created.
* type: string * type: string
@ -3226,10 +3204,7 @@
* example: * example:
* - 5 * - 5
* createdAt: * createdAt:
* description: The time (in ms since POSIX epoch) when the notification was created. * $ref: '#/components/schemas/createdAt'
* type: integer
* example:
* - 1666545142424
* notificationEvents: * notificationEvents:
* type: object * type: object
* properties: * properties:
@ -3527,10 +3502,7 @@
* items: * items:
* $ref: '#/components/schemas/rssFeedEpisode' * $ref: '#/components/schemas/rssFeedEpisode'
* createdAt: * createdAt:
* description: The time (in ms since POSIX epoch) when the RSS feed was created. * $ref: '#/components/schemas/createdAt'
* type: integer
* example:
* - 1669031843179
* updatedAt: * updatedAt:
* description: The time (in ms since POSIX epoch) when the RSS feed was last updated. * description: The time (in ms since POSIX epoch) when the RSS feed was last updated.
* type: integer * type: integer