-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdirectus-openapi.json
More file actions
1 lines (1 loc) · 77.4 KB
/
Copy pathdirectus-openapi.json
File metadata and controls
1 lines (1 loc) · 77.4 KB
1
{"openapi":"3.0.1","info":{"title":"Dynamic API Specification","description":"This is a dynamically generated API specification for all endpoints existing on the current project.","version":"94527f8a5488e62b9bd9698a7b89787a4ad0f588"},"servers":[{"url":"http://localhost:4343","description":"Your current Directus instance."}],"paths":{"/assets/{id}":{"get":{"tags":["Assets"],"operationId":"getAsset","summary":"Get an Asset","description":"Image typed files can be dynamically resized and transformed to fit any need.","parameters":[{"name":"id","in":"path","description":"The id of the file.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","description":"The key of the asset size configured in settings.","schema":{"type":"string"}},{"name":"transforms","in":"query","description":"A JSON array of image transformations","schema":{"type":"string"}},{"name":"download","in":"query","description":"Download the asset to your computer","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Successful request","content":{"text/plain":{"schema":{"type":"string"}}}},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/auth/login":{"post":{"summary":"Retrieve a Temporary Access Token","description":"Retrieve a Temporary Access Token","tags":["Authentication"],"operationId":"login","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","example":"admin@example.com","description":"Email address of the user you're retrieving the access token for."},"password":{"type":"string","description":"Password of the user.","format":"password","example":"password"},"mode":{"type":"string","enum":["json","cookie","session"],"default":"json","description":"Whether to retrieve the refresh token in the JSON response, or in a httpOnly cookie."},"otp":{"type":"string","description":"The user's one-time-password (if MFA is enabled)."}}}}}},"responses":{"200":{"description":"Successful authentification","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"access_token":{"type":"string","example":"eyJhbGciOiJI..."},"expires":{"type":"integer","example":900},"refresh_token":{"type":"string","example":"yuOJkjdPXMd..."}}}}}}}}}}},"/auth/refresh":{"post":{"summary":"Refresh Token","description":"Refresh a Temporary Access Token.","tags":["Authentication"],"operationId":"refresh","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"refresh_token":{"type":"string","example":"eyJ0eXAiOiJKV...","description":"JWT access token you want to refresh. This token can't be expired."},"mode":{"type":"string","enum":["json","cookie","session"],"default":"json","description":"Whether to submit and retrieve the refresh token in the JSON response, or in a httpOnly cookie."}}}}}},"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"access_token":{"type":"string","example":"eyJhbGciOiJI..."},"expires":{"type":"integer","example":900},"refresh_token":{"type":"string","example":"Gy-caJMpmGTA..."}}}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/auth/logout":{"post":{"summary":"Log Out","description":"Log Out","tags":["Authentication"],"operationId":"logout","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"refresh_token":{"type":"string","example":"eyJ0eXAiOiJKV...","description":"The refresh token to invalidate. If you have the refresh token in a cookie through /auth/login, you don't have to submit it here."},"mode":{"type":"string","enum":["json","cookie","session"],"description":"Whether the refresh token is submitted in the JSON response, or in a httpOnly cookie."}}}}}},"responses":{"200":{"description":"Request successful"}}}},"/auth/password/request":{"post":{"tags":["Authentication"],"operationId":"passwordRequest","summary":"Request a Password Reset","description":"Request a reset password email to be send.","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["email"],"properties":{"email":{"type":"string","example":"admin@example.com","description":"Email address of the user you're requesting a reset for."}}}}}},"responses":{"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/auth/password/reset":{"post":{"tags":["Authentication"],"operationId":"passwordReset","summary":"Reset a Password","description":"The request a password reset endpoint sends an email with a link to the admin app which in turn uses this endpoint to allow the user to reset their password.","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["token","password"],"properties":{"token":{"type":"string","example":"eyJ0eXAiOiJKV1Qi...","description":"One-time use JWT token that is used to verify the user."},"password":{"type":"string","example":"password","format":"password","description":"New password for the user."}}}}}},"responses":{"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/auth/oauth":{"get":{"tags":["Authentication"],"operationId":"oauth","summary":"List OAuth Providers","description":"List configured OAuth providers.","responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"public":{"type":"boolean"},"data":{"type":"array","example":["github","facebook"],"items":{"type":"string"}}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/auth/oauth/{provider}":{"get":{"summary":"Authenticated using an OAuth provider","description":"Start OAuth flow using the specified provider","tags":["Authentication"],"operationId":"oauthProvider","parameters":[{"name":"provider","in":"path","description":"Key of the activated OAuth provider.","required":true,"schema":{"type":"string"}},{"name":"redirect","in":"query","required":false,"description":"Where to redirect on successful login.<br/>If set the authentication details are set inside cookies otherwise a JSON is returned.","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"public":{"type":"boolean"},"data":{"type":"object","properties":{"token":{"type":"string"}}}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/server/info":{"get":{"summary":"System Info","description":"Perform a system status check and return the options.","operationId":"serverInfo","parameters":[{"description":"The first time you create a project, the provided token will be saved and required for subsequent project installs. It can also be found and configured in `/config/__api.json` on your server.","in":"query","name":"super_admin_token","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"type":"object"}},"type":"object"}}},"description":"Successful request"},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}},"tags":["Server"]}},"/server/ping":{"get":{"summary":"Ping","description":"Ping, pong. Ping.. pong.","operationId":"ping","responses":{"200":{"content":{"application/text":{"schema":{"type":"string","pattern":"pong","example":"pong"}}},"description":"Successful request"}},"tags":["Server"]}},"/files":{"get":{"summary":"List Files","description":"List the files.","tags":["Files"],"operationId":"getFiles","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"},{"$ref":"#/components/parameters/Meta"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Files"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/files/{id}":{"get":{"summary":"Retrieve a Files","description":"Retrieve a single file by unique identifier.","tags":["Files"],"operationId":"getFile","parameters":[{"$ref":"#/components/parameters/UUId"},{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Files"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/users":{"get":{"summary":"List Users","description":"List the users.","operationId":"getUsers","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Users"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}},"tags":["Users"]}},"/users/{id}":{"get":{"summary":"Retrieve a User","description":"Retrieve a single user by unique identifier.","operationId":"getUser","parameters":[{"$ref":"#/components/parameters/UUId"},{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Users"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}},"tags":["Users"]}},"/users/invite":{},"/users/invite/accept":{},"/users/me":{"get":{"summary":"Retrieve Current User","description":"Retrieve the currently authenticated user.","operationId":"getMe","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Users"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}},"tags":["Users"]}},"/users/me/track/page":{},"/users/me/tfa/enable":{},"/users/me/tfa/disable":{},"/items/block_button":{"get":{"summary":"List Items","description":"List the block_button items.","tags":["Items","ItemsBlockButton"],"operationId":"readItemsBlockButton","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsBlockButton"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/block_button/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single block_button item by unique identifier.","tags":["Items","ItemsBlockButton"],"operationId":"readSingleItemsBlockButton","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsBlockButton"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/block_posts":{"get":{"summary":"List Items","description":"List the block_posts items.","tags":["Items","ItemsBlockPosts"],"operationId":"readItemsBlockPosts","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsBlockPosts"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/block_posts/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single block_posts item by unique identifier.","tags":["Items","ItemsBlockPosts"],"operationId":"readSingleItemsBlockPosts","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsBlockPosts"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/block_button_group":{"get":{"summary":"List Items","description":"List the block_button_group items.","tags":["Items","ItemsBlockButtonGroup"],"operationId":"readItemsBlockButtonGroup","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsBlockButtonGroup"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/block_button_group/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single block_button_group item by unique identifier.","tags":["Items","ItemsBlockButtonGroup"],"operationId":"readSingleItemsBlockButtonGroup","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsBlockButtonGroup"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/block_hero":{"get":{"summary":"List Items","description":"List the block_hero items.","tags":["Items","ItemsBlockHero"],"operationId":"readItemsBlockHero","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsBlockHero"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/block_hero/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single block_hero item by unique identifier.","tags":["Items","ItemsBlockHero"],"operationId":"readSingleItemsBlockHero","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsBlockHero"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/block_gallery_items":{"get":{"summary":"List Items","description":"List the block_gallery_items items.","tags":["Items","ItemsBlockGalleryItems"],"operationId":"readItemsBlockGalleryItems","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsBlockGalleryItems"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/block_gallery_items/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single block_gallery_items item by unique identifier.","tags":["Items","ItemsBlockGalleryItems"],"operationId":"readSingleItemsBlockGalleryItems","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsBlockGalleryItems"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/block_gallery":{"get":{"summary":"List Items","description":"List the block_gallery items.","tags":["Items","ItemsBlockGallery"],"operationId":"readItemsBlockGallery","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsBlockGallery"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/block_gallery/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single block_gallery item by unique identifier.","tags":["Items","ItemsBlockGallery"],"operationId":"readSingleItemsBlockGallery","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsBlockGallery"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/block_form":{"get":{"summary":"List Items","description":"List the block_form items.","tags":["Items","ItemsBlockForm"],"operationId":"readItemsBlockForm","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsBlockForm"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/block_form/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single block_form item by unique identifier.","tags":["Items","ItemsBlockForm"],"operationId":"readSingleItemsBlockForm","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsBlockForm"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/globals":{"get":{"summary":"List Items","description":"List the globals items.","tags":["Items","ItemsGlobals"],"operationId":"readItemsGlobals","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsGlobals"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/globals/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single globals item by unique identifier.","tags":["Items","ItemsGlobals"],"operationId":"readSingleItemsGlobals","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsGlobals"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/block_pricing":{"get":{"summary":"List Items","description":"List the block_pricing items.","tags":["Items","ItemsBlockPricing"],"operationId":"readItemsBlockPricing","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsBlockPricing"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/block_pricing/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single block_pricing item by unique identifier.","tags":["Items","ItemsBlockPricing"],"operationId":"readSingleItemsBlockPricing","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsBlockPricing"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/block_pricing_cards":{"get":{"summary":"List Items","description":"List the block_pricing_cards items.","tags":["Items","ItemsBlockPricingCards"],"operationId":"readItemsBlockPricingCards","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsBlockPricingCards"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/block_pricing_cards/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single block_pricing_cards item by unique identifier.","tags":["Items","ItemsBlockPricingCards"],"operationId":"readSingleItemsBlockPricingCards","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsBlockPricingCards"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/form_fields":{"get":{"summary":"List Items","description":"List the form_fields items.","tags":["Items","ItemsFormFields"],"operationId":"readItemsFormFields","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsFormFields"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/form_fields/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single form_fields item by unique identifier.","tags":["Items","ItemsFormFields"],"operationId":"readSingleItemsFormFields","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsFormFields"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/navigation_items":{"get":{"summary":"List Items","description":"List the navigation_items items.","tags":["Items","ItemsNavigationItems"],"operationId":"readItemsNavigationItems","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsNavigationItems"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/navigation_items/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single navigation_items item by unique identifier.","tags":["Items","ItemsNavigationItems"],"operationId":"readSingleItemsNavigationItems","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsNavigationItems"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/page_blocks":{"get":{"summary":"List Items","description":"List the page_blocks items.","tags":["Items","ItemsPageBlocks"],"operationId":"readItemsPageBlocks","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsPageBlocks"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/page_blocks/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single page_blocks item by unique identifier.","tags":["Items","ItemsPageBlocks"],"operationId":"readSingleItemsPageBlocks","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsPageBlocks"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/block_richtext":{"get":{"summary":"List Items","description":"List the block_richtext items.","tags":["Items","ItemsBlockRichtext"],"operationId":"readItemsBlockRichtext","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsBlockRichtext"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/block_richtext/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single block_richtext item by unique identifier.","tags":["Items","ItemsBlockRichtext"],"operationId":"readSingleItemsBlockRichtext","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsBlockRichtext"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/forms":{"get":{"summary":"List Items","description":"List the forms items.","tags":["Items","ItemsForms"],"operationId":"readItemsForms","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsForms"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/forms/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single forms item by unique identifier.","tags":["Items","ItemsForms"],"operationId":"readSingleItemsForms","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsForms"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/navigation":{"get":{"summary":"List Items","description":"List the navigation items.","tags":["Items","ItemsNavigation"],"operationId":"readItemsNavigation","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsNavigation"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/navigation/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single navigation item by unique identifier.","tags":["Items","ItemsNavigation"],"operationId":"readSingleItemsNavigation","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsNavigation"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/redirects":{"get":{"summary":"List Items","description":"List the redirects items.","tags":["Items","ItemsRedirects"],"operationId":"readItemsRedirects","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsRedirects"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/redirects/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single redirects item by unique identifier.","tags":["Items","ItemsRedirects"],"operationId":"readSingleItemsRedirects","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsRedirects"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/posts":{"get":{"summary":"List Items","description":"List the posts items.","tags":["Items","ItemsPosts"],"operationId":"readItemsPosts","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsPosts"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/posts/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single posts item by unique identifier.","tags":["Items","ItemsPosts"],"operationId":"readSingleItemsPosts","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsPosts"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}},"/items/pages":{"get":{"summary":"List Items","description":"List the pages items.","tags":["Items","ItemsPages"],"operationId":"readItemsPages","security":[{"Auth":[]}],"parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/Filter"},{"$ref":"#/components/parameters/Search"}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/ItemsPages"}},"meta":{"$ref":"#/components/schemas/x-metadata"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"}}}},"/items/pages/{id}":{"get":{"summary":"Retrieve an Item","description":"Retrieve a single pages item by unique identifier.","tags":["Items","ItemsPages"],"operationId":"readSingleItemsPages","parameters":[{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/Meta"},{"$ref":"#/components/parameters/Version"},{"name":"id","description":"Index of the item.","in":"path","required":true,"schema":{"oneOf":[{"type":"integer","description":"Incremental index of the item.","example":1},{"type":"string","description":"Unique identifier of the item.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02"}]}}],"responses":{"200":{"description":"Successful request","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","$ref":"#/components/schemas/ItemsPages"}}}}}},"401":{"$ref":"#/components/responses/UnauthorizedError"},"404":{"$ref":"#/components/responses/NotFoundError"}}}}},"tags":[{"name":"Assets","description":"Image typed files can be dynamically resized and transformed to fit any need."},{"name":"Authentication","description":"All data within the platform is private by default. The public role can be configured to expose data without authentication, or you can pass an access token to the API to access private data."},{"name":"Server","description":"Access to where Directus runs. Allows you to make sure your server has everything needed to run the platform, and check what kind of latency we're dealing with."},{"name":"Files","description":"Files can be saved in any given location. Directus has a powerful assets endpoint that can be used to generate thumbnails for images on the fly.","x-collection":"directus_files"},{"name":"Users","description":"Users are what gives you access to the data.","x-collection":"directus_users"},{"name":"ItemsBlockButton","x-collection":"block_button"},{"name":"ItemsBlockPosts","x-collection":"block_posts"},{"name":"ItemsBlockButtonGroup","x-collection":"block_button_group"},{"name":"ItemsBlockHero","x-collection":"block_hero"},{"name":"ItemsBlockGalleryItems","x-collection":"block_gallery_items"},{"name":"ItemsBlockGallery","x-collection":"block_gallery"},{"name":"ItemsBlockForm","x-collection":"block_form"},{"name":"ItemsGlobals","x-collection":"globals","description":"Site-wide settings"},{"name":"ItemsBlockPricing","x-collection":"block_pricing"},{"name":"ItemsBlockPricingCards","x-collection":"block_pricing_cards"},{"name":"ItemsFormFields","x-collection":"form_fields","description":"Individual fields for each form"},{"name":"ItemsNavigationItems","x-collection":"navigation_items","description":"Individual menu items"},{"name":"ItemsPageBlocks","x-collection":"page_blocks"},{"name":"ItemsBlockRichtext","x-collection":"block_richtext"},{"name":"ItemsForms","x-collection":"forms","description":"Dynamic forms"},{"name":"ItemsNavigation","x-collection":"navigation","description":"Dynamic menus for your site"},{"name":"ItemsRedirects","x-collection":"redirects","description":"Manage URL redirects for your website"},{"name":"ItemsPosts","x-collection":"posts","description":"Individual blog posts"},{"name":"ItemsPages","x-collection":"pages","description":"Dynamic page builder"}],"components":{"schemas":{"Query":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"},"description":"Control what fields are being returned in the object.","example":["*","*.*"]},"filter":{"type":"object","example":{"<field>":{"<operator>":"<value>"}}},"search":{"description":"Filter by items that contain the given search query in one of their fields.","type":"string"},"sort":{"type":"array","items":{"type":"string"},"description":"How to sort the returned items.","example":["-date_created"]},"limit":{"type":"number","description":"Set the maximum number of items that will be returned"},"offset":{"type":"number","description":"How many items to skip when fetching data."},"page":{"type":"number","description":"Cursor for use in pagination. Often used in combination with limit."},"deep":{"type":"object","description":"Deep allows you to set any of the other query parameters on a nested relational dataset.","example":{"related_articles":{"_limit":3}}}}},"x-metadata":{"type":"object","properties":{"total_count":{"description":"Returns the total item count of the collection you're querying.","type":"integer"},"filter_count":{"description":"Returns the item count of the collection you're querying, taking the current filter/search parameters into account.","type":"integer"}}},"Files":{"type":"object","properties":{"id":{"description":"Unique identifier for the file.","example":"8cbb43fe-4cdf-4991-8352-c461779cec02","type":"string"},"storage":{"description":"Where the file is stored. Either `local` for the local filesystem or the name of the storage adapter (for example `s3`).","example":"local","type":"string"},"filename_disk":{"description":"Name of the file on disk. By default, Directus uses a random hash for the filename.","example":"a88c3b72-ac58-5436-a4ec-b2858531333a.jpg","type":"string"},"filename_download":{"description":"How you want to the file to be named when it's being downloaded.","example":"avatar.jpg","type":"string"},"title":{"description":"Title for the file. Is extracted from the filename on upload, but can be edited by the user.","example":"User Avatar","type":"string"},"type":{"description":"MIME type of the file.","example":"image/jpeg","type":"string"},"folder":{"description":"Virtual folder where this file resides in.","example":null,"oneOf":[{"type":"string"},{"$ref":"#/components/schemas/Folders"}],"nullable":true},"uploaded_by":{"description":"Who uploaded the file.","example":"63716273-0f29-4648-8a2a-2af2948f6f78","oneOf":[{"type":"string"},{"$ref":"#/components/schemas/Users"}]},"created_on":{"description":"When the file was created.","example":"2019-12-03T00:10:15+00:00","type":"string","format":"date-time"},"modified_by":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"modified_on":{"nullable":false,"type":"string","format":"timestamp"},"charset":{"description":"Character set of the file.","example":"binary","type":"string","nullable":true},"filesize":{"description":"Size of the file in bytes.","example":137862,"type":"integer"},"width":{"description":"Width of the file in pixels. Only applies to images.","example":800,"type":"integer","nullable":true},"height":{"description":"Height of the file in pixels. Only applies to images.","example":838,"type":"integer","nullable":true},"duration":{"description":"Duration of the file in seconds. Only applies to audio and video.","example":0,"type":"integer","nullable":true},"embed":{"description":"Where the file was embedded from.","example":null,"type":"string","nullable":true},"description":{"description":"Description for the file.","type":"string","nullable":true},"location":{"description":"Where the file was created. Is automatically populated based on Exif data for images.","type":"string","nullable":true},"tags":{"description":"Tags for the file. Is automatically populated based on Exif data for images.","type":"array","nullable":true,"items":{"type":"string"}},"metadata":{"description":"IPTC, Exif, and ICC metadata extracted from file","type":"object","nullable":true},"focal_point_x":{"nullable":true,"type":"integer"},"focal_point_y":{"nullable":true,"type":"integer"},"tus_id":{"nullable":true,"type":"string"},"tus_data":{"nullable":true},"uploaded_on":{"description":"When the file was last uploaded/replaced.","example":"2019-12-03T00:10:15+00:00","type":"string","format":"date-time"}},"x-collection":"directus_files"},"Users":{"type":"object","properties":{"id":{"description":"Unique identifier for the user.","example":"63716273-0f29-4648-8a2a-2af2948f6f78","type":"string"},"first_name":{"description":"First name of the user.","example":"Admin","type":"string"},"last_name":{"description":"Last name of the user.","example":"User","type":"string"},"title":{"description":"The user's title.","example":null,"type":"string","nullable":true},"avatar":{"description":"The user's avatar.","example":null,"oneOf":[{"type":"string"},{"$ref":"#/components/schemas/Files"}],"nullable":true}},"x-collection":"directus_users"},"ItemsBlockButton":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"sort":{"nullable":true,"type":"integer"},"type":{"nullable":true,"description":"What type of link is this? Page and Post allow you to link to internal content. URL is for external content. Group can contain other menu items.","type":"string"},"page":{"nullable":true,"description":"The internal page to link to.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsPages"}]},"post":{"nullable":true,"description":"The internal post to link to.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsPosts"}]},"label":{"nullable":true,"description":"Text to include on the button.","type":"string"},"variant":{"nullable":true,"description":"What type of button","type":"string"},"button_group":{"nullable":true,"description":"The id of the Button Group this button belongs to.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsBlockButtonGroup"}]},"url":{"nullable":true,"description":"The URL to link to. Could be relative (ie `/my-page`) or a full external URL (ie `https://docs.directus.io`)","type":"string"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"block_button","required":["id"]},"ItemsBlockPosts":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"headline":{"nullable":true,"description":"Larger main headline for this page section.","type":"string"},"collection":{"nullable":true,"description":"The collection of content to fetch and display on the page within this block.","type":"string"},"tagline":{"nullable":true,"description":"Smaller copy shown above the headline to label a section or add extra context.","type":"string"},"limit":{"nullable":true,"type":"integer"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"block_posts","required":["id"]},"ItemsBlockButtonGroup":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"sort":{"nullable":true,"type":"integer"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"buttons":{"nullable":true,"description":"Add individual buttons to the button group.","type":"array","items":{"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsBlockButton"}]}}},"x-collection":"block_button_group","required":["id"]},"ItemsBlockHero":{"type":"object","properties":{"headline":{"nullable":true,"description":"Larger main headline for this page section.","type":"string"},"id":{"nullable":false,"type":"string","format":"uuid"},"image":{"nullable":true,"description":"Featured image in the hero.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Files"}]},"button_group":{"nullable":true,"description":"Action buttons that show below headline and description.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsBlockButtonGroup"}]},"description":{"nullable":true,"description":"Supporting copy that shows below the headline.","type":"string"},"tagline":{"nullable":true,"description":"Smaller copy shown above the headline to label a section or add extra context.","type":"string"},"layout":{"nullable":true,"description":"The layout for the component. You can set the image to display left, right, or in the center of page..","type":"string"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"block_hero","required":["id"]},"ItemsBlockGalleryItems":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"block_gallery":{"nullable":true,"description":"The id of the gallery block this item belongs to.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsBlockGallery"}]},"directus_file":{"nullable":true,"description":"The id of the file included in the gallery.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Files"}]},"sort":{"nullable":true,"type":"integer"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"block_gallery_items","required":["id"]},"ItemsBlockGallery":{"type":"object","properties":{"headline":{"nullable":true,"description":"Larger main headline for this page section.","type":"string"},"id":{"nullable":false,"type":"string","format":"uuid"},"tagline":{"nullable":true,"description":"Smaller copy shown above the headline to label a section or add extra context.","type":"string"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"items":{"nullable":true,"description":"Images to include in the image gallery.","type":"array","items":{"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsBlockGalleryItems"}]}}},"x-collection":"block_gallery","required":["id"]},"ItemsBlockForm":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"form":{"nullable":true,"description":"Form to show within block","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsForms"}]},"headline":{"nullable":true,"description":"Larger main headline for this page section.","type":"string"},"tagline":{"nullable":true,"description":"Smaller copy shown above the headline to label a section or add extra context.","type":"string"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"block_form","required":["id"]},"ItemsGlobals":{"type":"object","properties":{"description":{"nullable":true,"description":"Site summary for search results.","type":"string"},"id":{"nullable":false,"type":"string","format":"uuid"},"social_links":{"nullable":true,"description":"Social media profile URLs"},"tagline":{"nullable":true,"description":"Short phrase describing the site.","type":"string"},"title":{"nullable":true,"description":"Main site title","type":"string"},"url":{"nullable":true,"description":"Public URL for the website","type":"string"},"favicon":{"nullable":true,"description":"Small icon for browser tabs. 1:1 ratio. No larger than 512px × 512px.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Files"}]},"logo":{"nullable":true,"description":"Main logo shown on the site (for light mode).","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Files"}]},"logo_dark_mode":{"nullable":true,"description":"Main logo shown on the site (for dark mode).","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Files"}]},"accent_color":{"nullable":true,"description":"Accent color for the website (used on buttons, links, etc).","type":"string"}},"x-collection":"globals","required":["id"]},"ItemsBlockPricing":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"headline":{"nullable":true,"description":"Larger main headline for this page section.","type":"string"},"tagline":{"nullable":true,"description":"Smaller copy shown above the headline to label a section or add extra context.","type":"string"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"pricing_cards":{"nullable":true,"description":"The individual pricing cards to display.","type":"array","items":{"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsBlockPricingCards"}]}}},"x-collection":"block_pricing","required":["id"]},"ItemsBlockPricingCards":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"title":{"nullable":true,"description":"Name of the pricing plan. Shown at the top of the card.","type":"string"},"description":{"nullable":true,"description":"Short, one sentence description of the pricing plan and who it is for.","type":"string"},"price":{"nullable":true,"description":"Price and term for the pricing plan. (ie `$199/mo`)","type":"string"},"badge":{"nullable":true,"description":"Badge that displays at the top of the pricing plan card to add helpful context.","type":"string"},"features":{"nullable":true,"description":"Short list of features included in this plan. Press `Enter` to add another item to the list."},"button":{"nullable":true,"description":"The action button / link shown at the bottom of the pricing card.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsBlockButton"}]},"pricing":{"nullable":true,"description":"The id of the pricing block this card belongs to.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsBlockPricing"}]},"is_highlighted":{"nullable":true,"description":"Add highlighted border around the pricing plan to make it stand out.","type":"boolean"},"sort":{"nullable":true,"type":"integer"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"block_pricing_cards","required":["id"]},"ItemsFormFields":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"name":{"nullable":true,"description":"Unique field identifier, not shown to users (lowercase, hyphenated)","type":"string"},"type":{"nullable":true,"description":"Input type for the field","type":"string"},"label":{"nullable":true,"description":"Text label shown to form users.","type":"string"},"placeholder":{"nullable":true,"description":"Default text shown in empty input.","type":"string"},"help":{"nullable":true,"description":"Additional instructions shown below the input","type":"string"},"validation":{"nullable":true,"description":"Available rules: `email`, `url`, `min:5`, `max:20`, `length:10`. Combine with pipes example: `email|max:255`","type":"string"},"width":{"nullable":true,"description":"Field width on the form","type":"string"},"choices":{"nullable":true,"description":"Options for radio or select inputs"},"form":{"nullable":true,"description":"Parent form this field belongs to.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsForms"}]},"sort":{"nullable":true,"type":"integer"},"required":{"nullable":true,"description":"Make this field mandatory to complete.","type":"boolean"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"form_fields","required":["id"]},"ItemsNavigationItems":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"navigation":{"nullable":true,"description":"Navigation menu that the individual links belong to.","oneOf":[{"type":"string"},{"$ref":"#/components/schemas/ItemsNavigation"}]},"page":{"nullable":true,"description":"The internal page to link to.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsPages"}]},"parent":{"nullable":true,"description":"The parent navigation item.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsNavigationItems"}]},"sort":{"nullable":true,"type":"integer"},"title":{"nullable":true,"description":"Label shown to the user for the menu item.","type":"string"},"type":{"nullable":true,"description":"What type of link is this? Page and Post allow you to link to internal content. URL is for external content. Group can contain other menu items.","type":"string"},"url":{"nullable":true,"description":"The URL to link to. Could be relative (ie `/my-page`) or a full external URL (ie `https://docs.directus.io`)","type":"string"},"post":{"nullable":true,"description":"The internal post to link to.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsPosts"}]},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"children":{"nullable":true,"description":"Add child menu items within the group.","type":"array","items":{"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsNavigationItems"}]}}},"x-collection":"navigation_items","required":["id"]},"ItemsPageBlocks":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"sort":{"nullable":true,"type":"integer"},"page":{"nullable":true,"description":"The id of the page that this block belongs to.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsPages"}]},"item":{"nullable":true,"description":"The data for the block.","type":"array","items":{"oneOf":[{"type":"string"},{"$ref":"#/components/schemas/ItemsBlockPosts"},{"$ref":"#/components/schemas/ItemsBlockHero"},{"$ref":"#/components/schemas/ItemsBlockGallery"},{"$ref":"#/components/schemas/ItemsBlockForm"},{"$ref":"#/components/schemas/ItemsBlockPricing"},{"$ref":"#/components/schemas/ItemsBlockRichtext"}]}},"collection":{"nullable":true,"description":"The collection (type of block).","type":"string"},"hide_block":{"nullable":true,"description":"Temporarily hide this block on the website without having to remove it from your page.","type":"boolean"},"background":{"nullable":true,"description":"Background color for the block to create contrast. Does not control dark or light mode for the entire site.","type":"string"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"page_blocks","required":["id"]},"ItemsBlockRichtext":{"type":"object","properties":{"content":{"nullable":true,"description":"Rich text content for this block.","type":"string"},"headline":{"nullable":true,"description":"Larger main headline for this page section.","type":"string"},"id":{"nullable":false,"type":"string","format":"uuid"},"alignment":{"nullable":true,"description":"Controls how the content block is positioned on the page. Choose \"Left\" to align the block against the left margin or \"Center\" to position the block in the middle of the page. This setting affects the entire content block's placement, not the text alignment within it.","type":"string"},"tagline":{"nullable":true,"description":"Smaller copy shown above the headline to label a section or add extra context.","type":"string"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"block_richtext","required":["id"]},"ItemsForms":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"on_success":{"nullable":true,"description":"Action after successful submission.","type":"string"},"sort":{"nullable":true,"type":"integer"},"submit_label":{"nullable":true,"description":"Text shown on submit button.","type":"string"},"success_message":{"nullable":true,"description":"Message shown after successful submission.","type":"string"},"title":{"nullable":true,"description":"Form name (for internal reference).","type":"string"},"success_redirect_url":{"nullable":true,"description":"Destination URL after successful submission.","type":"string"},"is_active":{"nullable":true,"description":"Show or hide this form from the site.","type":"boolean"},"fields":{"nullable":true,"description":"Form structure and input fields","type":"array","items":{"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsFormFields"}]}}},"x-collection":"forms","required":["id"]},"ItemsNavigation":{"type":"object","properties":{"id":{"nullable":false,"description":"Unique identifier for this menu. Can't be edited after creation.","type":"string"},"title":{"nullable":true,"description":"What is the name of this menu? Only used internally.","type":"string"},"is_active":{"nullable":true,"description":"Show or hide this menu from the site.","type":"boolean"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"items":{"nullable":true,"description":"Links within the menu.","type":"array","items":{"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsNavigationItems"}]}}},"x-collection":"navigation","required":["id"]},"ItemsRedirects":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"response_code":{"nullable":true,"type":"string"},"url_from":{"nullable":true,"description":"Old URL has to be relative to the site (ie `/blog` or `/news`). It cannot be a full url like (https://example.com/blog)","type":"string"},"url_to":{"nullable":true,"description":"The URL you're redirecting to. This can be a relative url (/resources/matt-is-cool) or a full url (https://example.com/blog).","type":"string"},"note":{"nullable":true,"description":"Short explanation of why the redirect was created.","type":"string"},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"redirects","required":["id"]},"ItemsPosts":{"type":"object","properties":{"content":{"nullable":true,"description":"Rich text content of your blog post.","type":"string"},"id":{"nullable":false,"type":"string","format":"uuid"},"image":{"nullable":true,"description":"Featured image for this post. Used in cards linking to the post and in the post detail page.","oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Files"}]},"slug":{"nullable":true,"description":"Unique URL for this post (e.g., `yoursite.com/posts/{{your-slug}}`)","type":"string"},"sort":{"nullable":true,"type":"integer"},"status":{"nullable":false,"description":"Is this post published?","type":"string"},"title":{"nullable":true,"description":"Title of the blog post (used in page title and meta tags)","type":"string"},"description":{"nullable":true,"description":"Short summary of the blog post to entice readers.","type":"string"},"author":{"nullable":true,"description":"Select the team member who wrote this post","type":"string","format":"uuid"},"published_at":{"nullable":true,"description":"Publish now or schedule for later.","type":"string","format":"timestamp"},"seo":{"nullable":true},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]}},"x-collection":"posts","required":["id"]},"ItemsPages":{"type":"object","properties":{"id":{"nullable":false,"type":"string","format":"uuid"},"sort":{"nullable":true,"type":"integer"},"title":{"nullable":true,"description":"The title of this page.","type":"string"},"permalink":{"nullable":true,"description":"Unique URL for this page (start with `/`, can have multiple segments `/about/me`)).","type":"string"},"status":{"nullable":false,"description":"Is this page published?","type":"string"},"published_at":{"nullable":true,"description":"Publish now or schedule for later.","type":"string","format":"timestamp"},"seo":{"nullable":true},"date_created":{"nullable":true,"type":"string","format":"timestamp"},"user_created":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"date_updated":{"nullable":true,"type":"string","format":"timestamp"},"user_updated":{"nullable":true,"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/Users"}]},"blocks":{"nullable":true,"description":"Create and arrange different content blocks (like text, images, or videos) to build your page.","type":"array","items":{"oneOf":[{"type":"string","format":"uuid"},{"$ref":"#/components/schemas/ItemsPageBlocks"}]}}},"x-collection":"pages","required":["id"]}},"parameters":{"Id":{"description":"Index","name":"id","in":"path","required":true,"schema":{"type":"integer"}},"UUId":{"description":"Unique identifier for the object.","name":"id","in":"path","required":true,"schema":{"example":"8cbb43fe-4cdf-4991-8352-c461779cec02","type":"string"}},"Collection":{"description":"Collection of which you want to retrieve the items from.","name":"collection","in":"path","required":true,"schema":{"type":"string"}},"Search":{"description":"Filter by items that contain the given search query in one of their fields.","in":"query","name":"search","required":false,"schema":{"type":"string"}},"Page":{"description":"Cursor for use in pagination. Often used in combination with limit.","in":"query","name":"page","required":false,"schema":{"type":"integer"}},"Offset":{"description":"How many items to skip when fetching data.","in":"query","name":"offset","required":false,"schema":{"type":"integer"}},"Sort":{"description":"How to sort the returned items. `sort` is a CSV of fields used to sort the fetched items. Sorting defaults to ascending (ASC) order but a minus sign (` - `) can be used to reverse this to descending (DESC) order. Fields are prioritized by their order in the CSV. You can also use a ` ? ` to sort randomly.\n","in":"query","name":"sort","required":false,"explode":false,"schema":{"type":"array","items":{"type":"string"}}},"Meta":{"description":"What metadata to return in the response.","in":"query","name":"meta","required":false,"schema":{"type":"string"}},"Limit":{"description":"A limit on the number of objects that are returned.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},"Filter":{"description":"Select items in collection by given conditions.","in":"query","name":"filter","required":false,"content":{"application/json":{"schema":{"type":"object","example":{"<field>":{"<operator>":"<value>"}}}}}},"Fields":{"description":"Control what fields are being returned in the object.","in":"query","name":"fields","required":false,"explode":false,"schema":{"type":"array","items":{"type":"string"}}},"Export":{"name":"export","description":"Saves the API response to a file. Accepts one of \"csv\", \"json\", \"xml\", \"yaml\".","in":"query","required":false,"schema":{"type":"string","enum":["csv","json","xml","yaml"]}},"Version":{"name":"version","description":"Retrieve an item's state from a specific Content Version. The value corresponds to the \"key\" of the Content Version.\n","in":"query","required":false,"schema":{"type":"string"}}},"responses":{"NotFoundError":{"description":"Error: Not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string"}}}}}}}},"UnauthorizedError":{"description":"Error: Unauthorized request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string"}}}}}}}}},"securitySchemes":{"KeyAuth":{"type":"apiKey","in":"query","name":"access_token"},"Auth":{"type":"apiKey","in":"header","name":"Authorization"}}}}