Phasio constraint-resource API
The constraint-resource API from Phasio — 4 operation(s) for constraint-resource.
The constraint-resource API from Phasio — 4 operation(s) for constraint-resource.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/phasio-constraint-resource-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
title: Phasio Activity Internal Constraint Resource API
description: This is the API documentation for the Phasio application.
version: '1.0'
servers:
- url: https://m-api.eu.phas.io
description: Generated server url
security:
- Phasio API Bearer Token: []
tags:
- name: constraint-resource
paths:
/api/manufacturer/v1/constraints/{constraintId}:
get:
tags:
- constraint-resource
operationId: getConstraint
parameters:
- name: constraintId
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
'*/*':
schema:
oneOf:
- $ref: '#/components/schemas/ConstraintDto'
- $ref: '#/components/schemas/FixedOrientationConstraintDto'
put:
tags:
- constraint-resource
operationId: updateConstraint
parameters:
- name: constraintId
in: path
required: true
schema:
type: string
format: uuid
requestBody:
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/FixedOrientationConstraintRequestDto'
required: true
responses:
'200':
description: OK
content:
'*/*':
schema:
oneOf:
- $ref: '#/components/schemas/ConstraintDto'
- $ref: '#/components/schemas/FixedOrientationConstraintDto'
delete:
tags:
- constraint-resource
operationId: deleteConstraint
parameters:
- name: constraintId
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: OK
/api/manufacturer/v1/constraints:
post:
tags:
- constraint-resource
operationId: createConstraint
requestBody:
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/FixedOrientationConstraintRequestDto'
required: true
responses:
'200':
description: OK
content:
'*/*':
schema:
oneOf:
- $ref: '#/components/schemas/ConstraintDto'
- $ref: '#/components/schemas/FixedOrientationConstraintDto'
/api/manufacturer/v1/constraints/part-specification/{partSpecificationId}:
get:
tags:
- constraint-resource
operationId: getConstraintsByPartSpecification
parameters:
- name: partSpecificationId
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
'*/*':
schema:
type: array
items:
oneOf:
- $ref: '#/components/schemas/ConstraintDto'
- $ref: '#/components/schemas/FixedOrientationConstraintDto'
/api/manufacturer/v1/constraints/part-specification/{partSpecificationId}/type/{constraintType}:
delete:
tags:
- constraint-resource
operationId: deleteConstraintByType
parameters:
- name: partSpecificationId
in: path
required: true
schema:
type: string
format: uuid
- name: constraintType
in: path
required: true
schema:
type: string
enum:
- FIXED_ORIENTATION
responses:
'200':
description: OK
components:
schemas:
ConstraintDto:
type: object
discriminator:
propertyName: constraintType
properties:
id:
type: string
format: uuid
constraintType:
type: string
partSpecificationId:
type: string
format: uuid
createdAt:
type: string
format: date-time
updatedAt:
type: string
format: date-time
required:
- constraintType
- createdAt
- id
- partSpecificationId
- updatedAt
FixedOrientationConstraintRequestDto:
allOf:
- $ref: '#/components/schemas/ConstraintRequestDto'
- type: object
properties:
rotationMatrix:
type: array
items:
type: array
items:
type: number
required:
- constraintType
FixedOrientationConstraintDto:
allOf:
- $ref: '#/components/schemas/ConstraintDto'
- type: object
properties:
rotationMatrix:
type: array
items:
type: array
items:
type: number
required:
- constraintType
- createdAt
- id
- partSpecificationId
- rotationMatrix
- updatedAt
ConstraintRequestDto:
type: object
discriminator:
propertyName: constraintType
properties:
partSpecificationId:
type: string
format: uuid
constraintType:
type: string
required:
- constraintType
securitySchemes:
Phasio_API_Bearer_Token:
type: http
name: Authorization
in: header
scheme: bearer
bearerFormat: JWT