For the complete documentation index, see llms.txt. This page is also available as Markdown.

Brackets

Create Order Brackets

post

Creates brackets for a specific order by its unique identifier. If the order is not found, a 404 error is raised.

Args: order_id (str): The unique identifier of the order to create brackets for.

Returns: dict: A response indicating the success or failure of the operation.

Raises: HTTPException: If the order is not found, a 404 error is raised.

Authorizations
x-api-keystringRequired
Body
namestringRequiredPattern: ^[^/]+$
order_idstring · min: 1Required
Responses
200

Successful response

application/json
bracket_idstringOptional
image_idanyRead-onlyOptional
is_uploadedbooleanOptional
namestringOptional
order_idanyRead-onlyOptional
upload_urlanyRead-onlyOptional
post/v3/brackets/
POST /v3/brackets/ HTTP/1.1
Host: api:8080
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 83

{
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "name": "text",
  "order_id": "text"
}
{
  "bracket_id": "text",
  "image_id": null,
  "is_uploaded": true,
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "name": "text",
  "order_id": null,
  "upload_url": null
}

Fetch Order Brackets

get

Fetch brackets for a specific order by its unique identifier. If the order is not found, a 404 error is raised.

Returns: dict: A response indicating the success or failure of the operation.

Raises: HTTPException: If the order is not found, a 404 error is raised.

Authorizations
x-api-keystringRequired
Path parameters
bracket_idstringRequired
Responses
200

Successful response

application/json
bracket_idstringOptional
image_idanyRead-onlyOptional
is_uploadedbooleanOptional
namestringOptional
order_idanyRead-onlyOptional
get/v3/brackets/{bracket_id}
GET /v3/brackets/{bracket_id} HTTP/1.1
Host: api:8080
x-api-key: YOUR_API_KEY
Accept: */*
{
  "bracket_id": "text",
  "image_id": null,
  "is_uploaded": true,
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "name": "text",
  "order_id": null
}

Delete Order Brackets

delete

Deletes brackets for a specific order by its unique identifier. If the order is not found, a 404 error is raised.

Returns: dict: A response indicating the success or failure of the operation.

Raises: HTTPException: If the order is not found, a 404 error is raised.

Authorizations
x-api-keystringRequired
Path parameters
bracket_idstringRequired
Responses
200

Successful response

application/json
anyOptional
delete/v3/brackets/{bracket_id}
DELETE /v3/brackets/{bracket_id} HTTP/1.1
Host: api:8080
x-api-key: YOUR_API_KEY
Accept: */*

No content

Last updated

Was this helpful?