ThaiProps Project Facilities API

The Project Facilities API from ThaiProps — 5 operation(s) for project facilities.

GitHub OpenAPI

Operations 6

GET /admin/project-facilities/list List Project Facilities #
GET /admin/project-facilities/all All Project Facilities #
POST /admin/project-facilities Create Project Facility #
PUT /admin/project-facilities/{facility_id} Update Project Facility #
DELETE /admin/project-facilities/{facility_id} Delete Project Facility #
PUT /admin/project-facilities/reorder Reorder Project Facilities #

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/thaiprops-com:thaiprops-com-project-facilities-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

thaiprops-com-project-facilities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ThaiProps Admin Project Facilities API
  version: 0.1.0
tags:
- name: Project Facilities
paths:
  /admin/project-facilities/list:
    get:
      tags:
      - Project Facilities
      summary: List Project Facilities
      operationId: list_project_facilities_admin_project_facilities_list_get
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 20
          title: Per Page
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/project-facilities/all:
    get:
      tags:
      - Project Facilities
      summary: All Project Facilities
      operationId: all_project_facilities_admin_project_facilities_all_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /admin/project-facilities:
    post:
      tags:
      - Project Facilities
      summary: Create Project Facility
      operationId: create_project_facility_admin_project_facilities_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectFacilityIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/project-facilities/{facility_id}:
    put:
      tags:
      - Project Facilities
      summary: Update Project Facility
      operationId: update_project_facility_admin_project_facilities__facility_id__put
      parameters:
      - name: facility_id
        in: path
        required: true
        schema:
          type: integer
          title: Facility Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectFacilityIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Project Facilities
      summary: Delete Project Facility
      operationId: delete_project_facility_admin_project_facilities__facility_id__delete
      parameters:
      - name: facility_id
        in: path
        required: true
        schema:
          type: integer
          title: Facility Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /admin/project-facilities/reorder:
    put:
      tags:
      - Project Facilities
      summary: Reorder Project Facilities
      operationId: reorder_project_facilities_admin_project_facilities_reorder_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectFacilityReorderIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ProjectFacilityReorderItem:
      properties:
        id:
          type: integer
          title: Id
        sort_order:
          type: integer
          title: Sort Order
      type: object
      required:
      - id
      - sort_order
      title: ProjectFacilityReorderItem
    ProjectFacilityIn:
      properties:
        name:
          type: string
          title: Name
        slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Slug
        icon:
          anyOf:
          - type: string
          - type: 'null'
          title: Icon
        sort_order:
          anyOf:
          - type: integer
          - type: 'null'
          title: Sort Order
          default: 0
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
          default: true
      type: object
      required:
      - name
      title: ProjectFacilityIn
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ProjectFacilityReorderIn:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ProjectFacilityReorderItem'
          type: array
          title: Items
      type: object
      required:
      - items
      title: ProjectFacilityReorderIn
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError