Phasio Constraint Resource API

The constraint-resource API from Phasio — 4 operation(s) for constraint-resource.

Operations 6

GET /api/manufacturer/v1/constraints/{constraintId} Get constraint #
PUT /api/manufacturer/v1/constraints/{constraintId} Update constraint #
DELETE /api/manufacturer/v1/constraints/{constraintId} Delete constraint #
POST /api/manufacturer/v1/constraints Create constraint #
GET /api/manufacturer/v1/constraints/part-specification/{partSpecificationId} Get constraints by part specification #
DELETE /api/manufacturer/v1/constraints/part-specification/{partSpecificationId}/type/{constraintType} Delete constraint by type #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/phasio-constraint-resource-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

phasio-constraint-resource-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phasio 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'
      summary: Get constraint
      x-summary-source: derived
    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'
      summary: Update constraint
      x-summary-source: derived
    delete:
      tags:
      - constraint-resource
      operationId: deleteConstraint
      parameters:
      - name: constraintId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
      summary: Delete constraint
      x-summary-source: derived
  /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'
      summary: Create constraint
      x-summary-source: derived
  /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'
      summary: Get constraints by part specification
      x-summary-source: derived
  /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
      summary: Delete constraint by type
      x-summary-source: derived
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
    ConstraintRequestDto:
      type: object
      discriminator:
        propertyName: constraintType
      properties:
        partSpecificationId:
          type: string
          format: uuid
        constraintType:
          type: string
      required:
      - constraintType
    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
  securitySchemes:
    Phasio_API_Bearer_Token:
      type: http
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT