A continuation of netlify_openapi_swagger.json. The complete source identity, every recorded occurrence, and linked equations are on its first page.
Source transcript · continued
Download complete source text ↓24,715 lines · 705.9 KB
"values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The environment variable value's universally unique ID",
"x-faker": "datatype.uuid"
},
"value": {
"type": "string",
"description": "The environment variable's unencrypted value",
"x-faker": "internet.password"
},
"context": {
"type": "string",
"enum": [
"all",
"dev",
"dev-server",
"branch-deploy",
"deploy-preview",
"production",
"branch"
],
"description": "The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`."
},
"context_parameter": {
"type": "string",
"description": "An additional parameter for custom branches. Currently, this is used for specifying a branch name when `context=branch`."
}
},
"description": "Environment variable value model definition"
},
"description": "An array of Value objects containing values and metadata",
"x-faker": "internet.password"
},
"is_secret": {
"type": "boolean",
"description": "Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "The timestamp of when the value was last updated",
"x-faker": "date.past"
},
"updated_by": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The user's unique identifier",
"x-faker": "datatype.number"
},
"full_name": {
"type": "string",
"description": "The user's full name (first and last)",
"x-faker": "name.findName"
},
"email": {
"type": "string",
"description": "The user's email address",
"x-faker": "internet.email"
},
"avatar_url": {
"type": "string",
"description": "A URL pointing to the user's avatar",
"x-faker": "internet.avatar"
}
}
}
},
"description": "Environment variable model definition"
}
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
}
}
},
"/api/v1/sites/{site_id}/env": {
"get": {
"tags": [
"environmentVariables"
],
"operationId": "getSiteEnvVars",
"parameters": [
{
"name": "context_name",
"description": "Filter by deploy context",
"required": false,
"in": "query",
"type": "string",
"enum": [
"all",
"dev",
"dev-server",
"branch-deploy",
"deploy-preview",
"production"
]
},
{
"name": "scope",
"description": "Filter by scope",
"required": false,
"in": "query",
"type": "string",
"enum": [
"builds",
"functions",
"runtime",
"post_processing"
]
},
{
"name": "site_id",
"description": "Scope response to site_id",
"required": true,
"type": "string",
"in": "path"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The environment variable key, like ALGOLIA_ID (case-sensitive)",
"x-faker": "commerce.productName"
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"builds",
"functions",
"runtime",
"post-processing"
]
},
"description": "The scopes that this environment variable is set to"
},
"values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The environment variable value's universally unique ID",
"x-faker": "datatype.uuid"
},
"value": {
"type": "string",
"description": "The environment variable's unencrypted value",
"x-faker": "internet.password"
},
"context": {
"type": "string",
"enum": [
"all",
"dev",
"dev-server",
"branch-deploy",
"deploy-preview",
"production",
"branch"
],
"description": "The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`."
},
"context_parameter": {
"type": "string",
"description": "An additional parameter for custom branches. Currently, this is used for specifying a branch name when `context=branch`."
}
},
"description": "Environment variable value model definition"
},
"description": "An array of Value objects containing values and metadata",
"x-faker": "internet.password"
},
"is_secret": {
"type": "boolean",
"description": "Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "The timestamp of when the value was last updated",
"x-faker": "date.past"
},
"updated_by": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The user's unique identifier",
"x-faker": "datatype.number"
},
"full_name": {
"type": "string",
"description": "The user's full name (first and last)",
"x-faker": "name.findName"
},
"email": {
"type": "string",
"description": "The user's email address",
"x-faker": "internet.email"
},
"avatar_url": {
"type": "string",
"description": "A URL pointing to the user's avatar",
"x-faker": "internet.avatar"
}
}
}
},
"description": "Environment variable model definition"
}
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
},
"description": "Returns all environment variables for a site. This convenience method behaves the same as `getEnvVars` but doesn't require an `account_id` as input."
}
},
"/accounts/{account_id}/env/{key}": {
"get": {
"tags": [
"environmentVariables"
],
"operationId": "getEnvVar",
"parameters": [
{
"name": "account_id",
"description": "Scope response to account_id",
"type": "string",
"required": true,
"in": "path"
},
{
"name": "key",
"description": "The environment variable key (case-sensitive)",
"type": "string",
"required": true,
"in": "path"
},
{
"name": "site_id",
"description": "If provided, return the environment variable for a specific site (no merging is performed)",
"type": "string",
"required": false,
"in": "query"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The environment variable key, like ALGOLIA_ID (case-sensitive)",
"x-faker": "commerce.productName"
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"builds",
"functions",
"runtime",
"post-processing"
]
},
"description": "The scopes that this environment variable is set to"
},
"values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The environment variable value's universally unique ID",
"x-faker": "datatype.uuid"
},
"value": {
"type": "string",
"description": "The environment variable's unencrypted value",
"x-faker": "internet.password"
},
"context": {
"type": "string",
"enum": [
"all",
"dev",
"dev-server",
"branch-deploy",
"deploy-preview",
"production",
"branch"
],
"description": "The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`."
},
"context_parameter": {
"type": "string",
"description": "An additional parameter for custom branches. Currently, this is used for specifying a branch name when `context=branch`."
}
},
"description": "Environment variable value model definition"
},
"description": "An array of Value objects containing values and metadata",
"x-faker": "internet.password"
},
"is_secret": {
"type": "boolean",
"description": "Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "The timestamp of when the value was last updated",
"x-faker": "date.past"
},
"updated_by": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The user's unique identifier",
"x-faker": "datatype.number"
},
"full_name": {
"type": "string",
"description": "The user's full name (first and last)",
"x-faker": "name.findName"
},
"email": {
"type": "string",
"description": "The user's email address",
"x-faker": "internet.email"
},
"avatar_url": {
"type": "string",
"description": "A URL pointing to the user's avatar",
"x-faker": "internet.avatar"
}
}
}
},
"description": "Environment variable model definition"
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
},
"description": "Returns an individual environment variable."
},
"put": {
"tags": [
"environmentVariables"
],
"operationId": "updateEnvVar",
"description": "Updates an existing environment variable and all of its values. Existing values will be replaced by values provided.",
"parameters": [
{
"name": "account_id",
"description": "Scope response to account_id",
"type": "string",
"required": true,
"in": "path"
},
{
"name": "key",
"description": "The existing environment variable key name (case-sensitive)",
"type": "string",
"required": true,
"in": "path"
},
{
"in": "body",
"name": "env_var",
"schema": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The existing or new name of the key, if you wish to rename it (case-sensitive)"
},
"scopes": {
"description": "The scopes that this environment variable is set to (Pro plans and above)",
"type": "array",
"items": {
"type": "string",
"enum": [
"builds",
"functions",
"runtime",
"post-processing"
]
}
},
"values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The environment variable value's universally unique ID",
"x-faker": "datatype.uuid"
},
"value": {
"type": "string",
"description": "The environment variable's unencrypted value",
"x-faker": "internet.password"
},
"context": {
"type": "string",
"enum": [
"all",
"dev",
"dev-server",
"branch-deploy",
"deploy-preview",
"production",
"branch"
],
"description": "The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`."
},
"context_parameter": {
"type": "string",
"description": "An additional parameter for custom branches. Currently, this is used for specifying a branch name when `context=branch`."
}
},
"description": "Environment variable value model definition"
}
},
"is_secret": {
"type": "boolean",
"description": "Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret."
}
}
}
},
{
"name": "site_id",
"description": "If provided, update an environment variable set on this site",
"type": "string",
"required": false,
"in": "query"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The environment variable key, like ALGOLIA_ID (case-sensitive)",
"x-faker": "commerce.productName"
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"builds",
"functions",
"runtime",
"post-processing"
]
},
"description": "The scopes that this environment variable is set to"
},
"values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The environment variable value's universally unique ID",
"x-faker": "datatype.uuid"
},
"value": {
"type": "string",
"description": "The environment variable's unencrypted value",
"x-faker": "internet.password"
},
"context": {
"type": "string",
"enum": [
"all",
"dev",
"dev-server",
"branch-deploy",
"deploy-preview",
"production",
"branch"
],
"description": "The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`."
},
"context_parameter": {
"type": "string",
"description": "An additional parameter for custom branches. Currently, this is used for specifying a branch name when `context=branch`."
}
},
"description": "Environment variable value model definition"
},
"description": "An array of Value objects containing values and metadata",
"x-faker": "internet.password"
},
"is_secret": {
"type": "boolean",
"description": "Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "The timestamp of when the value was last updated",
"x-faker": "date.past"
},
"updated_by": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The user's unique identifier",
"x-faker": "datatype.number"
},
"full_name": {
"type": "string",
"description": "The user's full name (first and last)",
"x-faker": "name.findName"
},
"email": {
"type": "string",
"description": "The user's email address",
"x-faker": "internet.email"
},
"avatar_url": {
"type": "string",
"description": "A URL pointing to the user's avatar",
"x-faker": "internet.avatar"
}
}
}
},
"description": "Environment variable model definition"
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
}
},
"patch": {
"tags": [
"environmentVariables"
],
"operationId": "setEnvVarValue",
"description": "Updates or creates a new value for an existing environment variable.",
"parameters": [
{
"name": "account_id",
"description": "Scope response to account_id",
"required": true,
"type": "string",
"in": "path"
},
{
"name": "key",
"description": "The existing environment variable key name (case-sensitive)",
"required": true,
"type": "string",
"in": "path"
},
{
"name": "site_id",
"description": "If provided, update an environment variable set on this site",
"in": "query",
"type": "string"
},
{
"in": "body",
"name": "env_var",
"schema": {
"type": "object",
"properties": {
"context": {
"description": "The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`. `branch` must be provided with a value in `context_parameter`.",
"type": "string",
"enum": [
"all",
"dev",
"dev-server",
"branch-deploy",
"deploy-preview",
"production",
"branch"
]
},
"context_parameter": {
"description": "An additional parameter for custom branches. Currently, this is used for providing a branch name when `context=branch`.",
"type": "string"
},
"value": {
"description": "The environment variable's unencrypted value",
"type": "string"
}
}
}
}
],
"responses": {
"201": {
"description": "Created (success)",
"schema": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The environment variable key, like ALGOLIA_ID (case-sensitive)",
"x-faker": "commerce.productName"
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"builds",
"functions",
"runtime",
"post-processing"
]
},
"description": "The scopes that this environment variable is set to"
},
"values": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The environment variable value's universally unique ID",
"x-faker": "datatype.uuid"
},
"value": {
"type": "string",
"description": "The environment variable's unencrypted value",
"x-faker": "internet.password"
},
"context": {
"type": "string",
"enum": [
"all",
"dev",
"dev-server",
"branch-deploy",
"deploy-preview",
"production",
"branch"
],
"description": "The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`."
},
"context_parameter": {
"type": "string",
"description": "An additional parameter for custom branches. Currently, this is used for specifying a branch name when `context=branch`."
}
},
"description": "Environment variable value model definition"
},
"description": "An array of Value objects containing values and metadata",
"x-faker": "internet.password"
},
"is_secret": {
"type": "boolean",
"description": "Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "The timestamp of when the value was last updated",
"x-faker": "date.past"
},
"updated_by": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The user's unique identifier",
"x-faker": "datatype.number"
},
"full_name": {
"type": "string",
"description": "The user's full name (first and last)",
"x-faker": "name.findName"
},
"email": {
"type": "string",
"description": "The user's email address",
"x-faker": "internet.email"
},
"avatar_url": {
"type": "string",
"description": "A URL pointing to the user's avatar",
"x-faker": "internet.avatar"
}
}
}
},
"description": "Environment variable model definition"
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
}
},
"delete": {
"tags": [
"environmentVariables"
],
"operationId": "deleteEnvVar",
"parameters": [
{
"name": "account_id",
"description": "Scope response to account_id",
"type": "string",
"required": true,
"in": "path"
},
{
"name": "key",
"description": "The environment variable key (case-sensitive)",
"type": "string",
"required": true,
"in": "path"
},
{
"name": "site_id",
"description": "If provided, delete the environment variable from this site",
"type": "string",
"required": false,
"in": "query"
}
],
"responses": {
"204": {
"description": "No Content (success)"
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
},
"description": "Deletes an environment variable"
}
},
"/accounts/{account_id}/env/{key}/value/{id}": {
"delete": {
"tags": [
"environmentVariables"
],
"operationId": "deleteEnvVarValue",
"parameters": [
{
"name": "account_id",
"description": "Scope response to account_id",
"required": true,
"in": "path",
"type": "string"
},
{
"name": "id",
"description": "The environment variable value's ID",
"type": "string",
"required": true,
"in": "path"
},
{
"name": "key",
"description": "The environment variable key name (case-sensitive)",
"type": "string",
"required": true,
"in": "path"
},
{
"name": "site_id",
"description": "If provided, delete the value from an environment variable on this site",
"type": "string",
"required": false,
"in": "query"
}
],
"responses": {
"204": {
"description": "No Content (success)"
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
},
"description": "Deletes a specific environment variable value."
}
},
"/sites/{site_id}/functions": {
"get": {
"operationId": "searchSiteFunctions",
"tags": [
"function"
],
"parameters": [
{
"name": "site_id",
"type": "string",
"in": "path",
"required": true
},
{
"name": "filter",
"type": "string",
"in": "query",
"required": false
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"branch": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "dateTime"
},
"functions": {
"type": "array",
"items": {
"type": "object"
}
},
"id": {
"type": "string"
},
"log_type": {
"type": "string"
},
"provider": {
"type": "string"
}
}
}
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
}
}
},
"/sites/{site_id}/forms": {
"get": {
"operationId": "listSiteForms",
"tags": [
"form"
],
"parameters": [
{
"name": "site_id",
"type": "string",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"site_id": {
"type": "string"
},
"name": {
"type": "string"
},
"paths": {
"type": "array",
"items": {
"type": "string"
}
},
"submission_count": {
"type": "integer",
"format": "int32"
},
"fields": {
"type": "array",
"items": {
"type": "object"
}
},
"created_at": {
"type": "string",
"format": "dateTime"
}
}
}
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
}
}
},
"/sites/{site_id}/forms/{form_id}": {
"delete": {
"operationId": "deleteSiteForm",
"tags": [
"form"
],
"parameters": [
{
"name": "site_id",
"type": "string",
"in": "path",
"required": true
},
{
"name": "form_id",
"type": "string",
"in": "path",
"required": true
}
],
"responses": {
"204": {
"description": "Deleted"
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
}
}
},
"/sites/{site_id}/submissions": {
"get": {
"operationId": "listSiteSubmissions",
"tags": [
"submission"
],
"parameters": [
{
"name": "site_id",
"type": "string",
"in": "path",
"required": true
},
{
"type": "integer",
"format": "int32",
"name": "page",
"required": false,
"in": "query"
},
{
"type": "integer",
"format": "int32",
"name": "per_page",
"required": false,
"in": "query"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"number": {
"type": "integer",
"format": "int32"
},
"email": {
"type": "string"
},
"name": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"company": {
"type": "string"
},
"summary": {
"type": "string"
},
"body": {
"type": "string"
},
"data": {
"type": "object"
},
"created_at": {
"type": "string",
"format": "dateTime"
},
"site_url": {
"type": "string"
}
}
}
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
}
}
},
"/sites/{site_id}/files": {
"get": {
"operationId": "listSiteFiles",
"tags": [
"file"
],
"parameters": [
{
"name": "site_id",
"type": "string",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"path": {
"type": "string"
},
"sha": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"size": {
"type": "integer",
"format": "int64"
}
}
}
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
}
}
},
"/sites/{site_id}/assets": {
"parameters": [
{
"name": "site_id",
"type": "string",
"in": "path",
"required": true
}
],
"get": {
"operationId": "listSiteAssets",
"tags": [
"asset"
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"site_id": {
"type": "string"
},
"creator_id": {
"type": "string"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"content_type": {
"type": "string"
},
"url": {
"type": "string"
},
"key": {
"type": "string"
},
"visibility": {
"type": "string"
},
"size": {
"type": "integer",
"format": "int64"
},
"created_at": {
"type": "string",
"format": "dateTime"
},
"updated_at": {
"type": "string",
"format": "dateTime"
}
}
}
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}
}
}
}
}
},
"post": {
"operationId": "createSiteAsset",
"tags": [
"asset"
],
"parameters": [
{
"name": "name",
"type": "string",
"in": "query",
"required": true
},
{
"name": "size",
"type": "integer",
"format": "int64",
"in": "query",
"required": true
},
{
"name": "content_type",
"type": "string",
"in": "query",
"required": true
},
{
"name": "visibility",
"type": "string",
"in": "query"
}
],
"responses": {
"201": {
"description": "Created",
"schema": {
"type": "object",
"properties": {
"form": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"fields": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"asset": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"site_id": {
"type": "string"
},
"creator_id": {
"type": "string"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"content_type": {
"type": "string"
},
"url": {
"type": "string"
},
"key": {
"type": "string"
},
"visibility": {
"type": "string"
},
"size": {
"type": "integer",
"format": "int64"
},
"created_at": {
"type": "string",
"format": "dateTime"
},
"updated_at": {
"type": "string",
"format": "dateTime"
}
}
}
}
}
},
"default": {
"description": "error",
"schema": {
"type": "object",
"required": [
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int64"
},
"message": {
"type": "string",
"x-nullable": false
}