openapi: 3.2.0 info: title: Cacheflow UO Ms API version: 0.0.3 servers: - url: https://api.getcacheflow.com description: 'Production. Calls are tenant-routed: send Host: .api.getcacheflow.com (per github.com/getcacheflow/api-examples SETUP.md). Host no longer resolves as of 2026-08-13.' - url: https://api.sandbox.getcacheflow.com description: Sandbox. Tenant-routed as .api.sandbox.getcacheflow.com. Host no longer resolves as of 2026-08-13. tags: - name: UOMs paths: /api/latest/settings/units: get: tags: - UOMs summary: List UOMs operationId: listUnits responses: '200': description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/Unit' post: tags: - UOMs summary: Create a UOM operationId: createUnit requestBody: content: application/json: schema: $ref: '#/components/schemas/Unit' responses: '201': description: OK content: application/json: schema: $ref: '#/components/schemas/Unit' /api/latest/settings/units/{id}: get: tags: - UOMs summary: Retrieve a UOM operationId: getUnit parameters: - name: id in: path required: true schema: type: string format: uuid responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/Unit' delete: tags: - UOMs summary: Delete a UOM operationId: deleteUnit parameters: - name: id in: path required: true schema: type: string format: uuid responses: default: description: default response content: application/json: {} patch: tags: - UOMs summary: Update a UOM operationId: updateUnit parameters: - name: id in: path required: true schema: type: string format: uuid requestBody: content: application/json: schema: $ref: '#/components/schemas/Unit' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/Unit' components: schemas: Unit: type: object properties: id: type: string format: uuid createdAt: type: string format: date-time readOnly: true createdBy: type: string updatedAt: type: string format: date-time readOnly: true updatedBy: type: string readOnly: true name: type: string plural: type: string