Queue
Create Queue
Endpoint to create a new Queue
post/message-queue
Request
- Base URLhttps://oneuptime.com/api
- AuthAPI key in header APIKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"name": "Example Text",
"queueIdentifier": "This is an example of longer text content that provides detailed information.",
"messagingSystem": "Example Text",
"destinationName": "This is an example of longer text content that provides detailed information."
}
}Response
Created successfully
Example response
{
"data": {
"_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"createdAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"updatedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"deletedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"project": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"projectId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"name": "Example Text",
"slug": "example-slug",
"description": "This is an example of longer text content that provides detailed information.",
"queueIdentifier": "This is an example of longer text content that provides detailed information.",
"messagingSystem": "Example Text",
"destinationName": "This is an example of longer text content that provides detailed information.",
"brokerScope": "Example Text",
"brokerAddress": "This is an example of longer text content that provides detailed information.",
"discoverySource": "Example Text",
"lastSeenAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"brokerMetricsLastSeenAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"autoArchivedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"manuallyRestoredAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"automaticAssignments": {
"key": "value",
"nested": {
"data": 123
}
},
"createdByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"createdByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"isArchived": true,
"archivedAt": {
"_type": "DateTime",
"value": "2023-10-01T12:00:00Z"
},
"archivedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"archivedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"deletedByUser": {
"_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb"
},
"deletedByUserId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"labels": [
{
"_id": "cccccccc-cccc-cccc-cccc-cccccccccccc"
},
{
"_id": "dddddddd-dddd-dddd-dddd-dddddddddddd"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.