Variables
Create a new variable
Unique identifier for the variable
cfd531e0-82fc-11e9-bc42-526af7764f64
Name of the variable
API_KEY
Value of the variable
my-secret-key
Type of the variable (e.g., string, number)
string
Date and time when the variable was created
2024-08-24T14:15:22Z
Date and time when the variable was last updated
2024-08-24T14:15:22Z
Variable created successfully
Invalid request body
Validation error
Internal server error
POST /variables HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 176
{
"id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
"name": "API_KEY",
"value": "my-secret-key",
"type": "string",
"createdDate": "2024-08-24T14:15:22Z",
"updatedDate": "2024-08-24T14:15:22Z"
}
{
"id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
"name": "API_KEY",
"value": "my-secret-key",
"type": "string",
"createdDate": "2024-08-24T14:15:22Z",
"updatedDate": "2024-08-24T14:15:22Z"
}
Retrieve a list of all variables
Successful operation
Internal server error
GET /variables HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
[
{
"id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
"name": "API_KEY",
"value": "my-secret-key",
"type": "string",
"createdDate": "2024-08-24T14:15:22Z",
"updatedDate": "2024-08-24T14:15:22Z"
}
]
Update a specific variable by ID
Variable ID
Unique identifier for the variable
cfd531e0-82fc-11e9-bc42-526af7764f64
Name of the variable
API_KEY
Value of the variable
my-secret-key
Type of the variable (e.g., string, number)
string
Date and time when the variable was created
2024-08-24T14:15:22Z
Date and time when the variable was last updated
2024-08-24T14:15:22Z
Variable updated successfully
Invalid ID or request body provided
Variable not found
Internal server error
PUT /variables/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 176
{
"id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
"name": "API_KEY",
"value": "my-secret-key",
"type": "string",
"createdDate": "2024-08-24T14:15:22Z",
"updatedDate": "2024-08-24T14:15:22Z"
}
{
"id": "cfd531e0-82fc-11e9-bc42-526af7764f64",
"name": "API_KEY",
"value": "my-secret-key",
"type": "string",
"createdDate": "2024-08-24T14:15:22Z",
"updatedDate": "2024-08-24T14:15:22Z"
}
Delete a specific variable by ID
Variable ID
Variable deleted successfully
Invalid ID provided
Variable not found
Internal server error
DELETE /variables/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
No content
Last updated