Layero Project Transfer API

The project_transfer API from Layero — 4 operation(s) for project_transfer.

GitHub OpenAPI

Operations 6

POST /projects/{project_id}/transfer Init Transfer #
GET /projects/{project_id}/transfer Get Pending Transfer #
DELETE /projects/{project_id}/transfer Cancel Transfer #
POST /projects/{project_id}/transfer/accept Accept Transfer #
POST /projects/{project_id}/transfer/reject Reject Transfer #
GET /me/pending-transfers My Pending Transfers #

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/layero-ru:layero-ru-project-transfer-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

layero-ru-project-transfer-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Layero Project Transfer API
  version: 0.1.0
tags:
- name: project_transfer
paths:
  /projects/{project_id}/transfer:
    post:
      tags:
      - project_transfer
      summary: Init Transfer
      operationId: init_transfer_projects__project_id__transfer_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferInitIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransferOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - project_transfer
      summary: Get Pending Transfer
      description: 'Висящая заявка на передачу этого проекта, или `null`.


        Без этой ручки состояние «заявка создана» жило только в стейте формы:

        после перезагрузки виджет снова показывал пустую форму, повторная

        отправка упиралась в 409 «A pending transfer already exists», а кнопка

        отмены не появлялась вовсе — свою же заявку нельзя было ни увидеть, ни

        снять.'
      operationId: get_pending_transfer_projects__project_id__transfer_get
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/TransferOut'
                - type: 'null'
                title: Response Get Pending Transfer Projects  Project Id  Transfer Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - project_transfer
      summary: Cancel Transfer
      operationId: cancel_transfer_projects__project_id__transfer_delete
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/transfer/accept:
    post:
      tags:
      - project_transfer
      summary: Accept Transfer
      operationId: accept_transfer_projects__project_id__transfer_accept_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransferOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /projects/{project_id}/transfer/reject:
    post:
      tags:
      - project_transfer
      summary: Reject Transfer
      operationId: reject_transfer_projects__project_id__transfer_reject_post
      parameters:
      - name: project_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Project Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransferOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /me/pending-transfers:
    get:
      tags:
      - project_transfer
      summary: My Pending Transfers
      description: 'All transfers waiting for me to accept/reject across every

        organization where I''m an admin. Backed by the partial index on

        project_transfers(target_organization_id) WHERE status=''pending'', so

        this is cheap even with many organizations.'
      operationId: my_pending_transfers_me_pending_transfers_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TransferOut'
                title: Response My Pending Transfers Me Pending Transfers Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TransferOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        project_id:
          type: string
          format: uuid
          title: Project Id
        source_organization_slug:
          type: string
          title: Source Organization Slug
        target_organization_slug:
          type: string
          title: Target Organization Slug
        keep_previous_owner_as_editor:
          type: boolean
          title: Keep Previous Owner As Editor
        requested_target_slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Requested Target Slug
        status:
          type: string
          title: Status
        created_at:
          type: string
          title: Created At
        resolved_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Resolved At
        project_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Project Name
        project_apex_hostname:
          anyOf:
          - type: string
          - type: 'null'
          title: Project Apex Hostname
      type: object
      required:
      - id
      - project_id
      - source_organization_slug
      - target_organization_slug
      - keep_previous_owner_as_editor
      - requested_target_slug
      - status
      - created_at
      title: TransferOut
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TransferInitIn:
      properties:
        target_organization_slug:
          type: string
          maxLength: 64
          minLength: 2
          title: Target Organization Slug
      type: object
      required:
      - target_organization_slug
      title: TransferInitIn
      description: 'The initiator picks an organization — nothing else.


        `requested_target_slug` used to live here so the initiator could dodge a

        slug collision up-front, back when the slug was baked into the address

        as `{org}-{slug}`. On the projects zone it isn''t, so the field asked the

        user to solve a problem they can no longer observe. Collisions are now

        auto-suffixed on accept.'