Unified.to · Capability

Unified.to API — repo

Unified.to API — repo. 30 operations. Lead operation: List All Branches. Self-contained Naftiko capability covering one Unified To business surface.

Run with Naftiko Unified Torepo

What You Can Do

GET
Listrepobranches — List All Branches
/v1/repo/{connection-id}/branch
POST
Createrepobranch — Create a Branch
/v1/repo/{connection-id}/branch
DELETE
Removerepobranch — Remove a Branch
/v1/repo/{connection-id}/branch/{id}
GET
Getrepobranch — Retrieve a Branch
/v1/repo/{connection-id}/branch/{id}
PATCH
Patchrepobranch — Update a Branch
/v1/repo/{connection-id}/branch/{id}
PUT
Updaterepobranch — Update a Branch
/v1/repo/{connection-id}/branch/{id}
GET
Listrepocommits — List All Commits
/v1/repo/{connection-id}/commit
POST
Createrepocommit — Create a Commit
/v1/repo/{connection-id}/commit
DELETE
Removerepocommit — Remove a Commit
/v1/repo/{connection-id}/commit/{id}
GET
Getrepocommit — Retrieve a Commit
/v1/repo/{connection-id}/commit/{id}
PATCH
Patchrepocommit — Update a Commit
/v1/repo/{connection-id}/commit/{id}
PUT
Updaterepocommit — Update a Commit
/v1/repo/{connection-id}/commit/{id}
GET
Listrepoorganizations — List All Organizations
/v1/repo/{connection-id}/organization
POST
Createrepoorganization — Create an Organization
/v1/repo/{connection-id}/organization
DELETE
Removerepoorganization — Remove an Organization
/v1/repo/{connection-id}/organization/{id}
GET
Getrepoorganization — Retrieve an Organization
/v1/repo/{connection-id}/organization/{id}
PATCH
Patchrepoorganization — Update an Organization
/v1/repo/{connection-id}/organization/{id}
PUT
Updaterepoorganization — Update an Organization
/v1/repo/{connection-id}/organization/{id}
GET
Listrepopullrequests — List All Pullrequests
/v1/repo/{connection-id}/pullrequest
POST
Createrepopullrequest — Create a Pullrequest
/v1/repo/{connection-id}/pullrequest
DELETE
Removerepopullrequest — Remove a Pullrequest
/v1/repo/{connection-id}/pullrequest/{id}
GET
Getrepopullrequest — Retrieve a Pullrequest
/v1/repo/{connection-id}/pullrequest/{id}
PATCH
Patchrepopullrequest — Update a Pullrequest
/v1/repo/{connection-id}/pullrequest/{id}
PUT
Updaterepopullrequest — Update a Pullrequest
/v1/repo/{connection-id}/pullrequest/{id}
GET
Listreporepositories — List All Repositories
/v1/repo/{connection-id}/repository
POST
Createreporepository — Create a Repository
/v1/repo/{connection-id}/repository
DELETE
Removereporepository — Remove a Repository
/v1/repo/{connection-id}/repository/{id}
GET
Getreporepository — Retrieve a Repository
/v1/repo/{connection-id}/repository/{id}
PATCH
Patchreporepository — Update a Repository
/v1/repo/{connection-id}/repository/{id}
PUT
Updatereporepository — Update a Repository
/v1/repo/{connection-id}/repository/{id}

MCP Tools

list-all-branches

List All Branches

read-only idempotent
create-branch

Create a Branch

remove-branch

Remove a Branch

idempotent
retrieve-branch

Retrieve a Branch

read-only idempotent
update-branch

Update a Branch

idempotent
update-branch-2

Update a Branch

idempotent
list-all-commits

List All Commits

read-only idempotent
create-commit

Create a Commit

remove-commit

Remove a Commit

idempotent
retrieve-commit

Retrieve a Commit

read-only idempotent
update-commit

Update a Commit

idempotent
update-commit-2

Update a Commit

idempotent
list-all-organizations

List All Organizations

read-only idempotent
create-organization

Create an Organization

remove-organization

Remove an Organization

idempotent
retrieve-organization

Retrieve an Organization

read-only idempotent
update-organization

Update an Organization

idempotent
update-organization-2

Update an Organization

idempotent
list-all-pullrequests

List All Pullrequests

read-only idempotent
create-pullrequest

Create a Pullrequest

remove-pullrequest

Remove a Pullrequest

idempotent
retrieve-pullrequest

Retrieve a Pullrequest

read-only idempotent
update-pullrequest

Update a Pullrequest

idempotent
update-pullrequest-2

Update a Pullrequest

idempotent
list-all-repositories

List All Repositories

read-only idempotent
create-repository

Create a Repository

remove-repository

Remove a Repository

idempotent
retrieve-repository

Retrieve a Repository

read-only idempotent
update-repository

Update a Repository

idempotent
update-repository-2

Update a Repository

idempotent

Capability Spec

full-repo.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unified.to  API — repo
  description: 'Unified.to  API — repo. 30 operations. Lead operation: List All Branches. Self-contained Naftiko capability
    covering one Unified To business surface.'
  tags:
  - Unified To
  - repo
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNIFIED_TO_API_KEY: UNIFIED_TO_API_KEY
capability:
  consumes:
  - type: http
    namespace: full-repo
    baseUri: https://api.unified.to
    description: Unified.to  API — repo business capability. Self-contained, no shared references.
    resources:
    - name: repo-connection_id-branch
      path: /repo/{connection_id}/branch
      operations:
      - name: listrepobranches
        method: GET
        description: List All Branches
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: repo_id
          in: query
          type: string
          description: The repo ID to filter by (reference to RepoRepository)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createrepobranch
        method: POST
        description: Create a Branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repo-connection_id-branch-id
      path: /repo/{connection_id}/branch/{id}
      operations:
      - name: removerepobranch
        method: DELETE
        description: Remove a Branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Branch
          required: true
      - name: getrepobranch
        method: GET
        description: Retrieve a Branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Branch
          required: true
      - name: patchrepobranch
        method: PATCH
        description: Update a Branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Branch
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updaterepobranch
        method: PUT
        description: Update a Branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Branch
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repo-connection_id-commit
      path: /repo/{connection_id}/commit
      operations:
      - name: listrepocommits
        method: GET
        description: List All Commits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: repo_id
          in: query
          type: string
          description: The repo ID to filter by (reference to RepoRepository)
        - name: branch_id
          in: query
          type: string
          description: The repo branch ID to filter by (reference to RepoBranch)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createrepocommit
        method: POST
        description: Create a Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repo-connection_id-commit-id
      path: /repo/{connection_id}/commit/{id}
      operations:
      - name: removerepocommit
        method: DELETE
        description: Remove a Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Commit
          required: true
      - name: getrepocommit
        method: GET
        description: Retrieve a Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Commit
          required: true
      - name: patchrepocommit
        method: PATCH
        description: Update a Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Commit
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updaterepocommit
        method: PUT
        description: Update a Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Commit
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repo-connection_id-organization
      path: /repo/{connection_id}/organization
      operations:
      - name: listrepoorganizations
        method: GET
        description: List All Organizations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createrepoorganization
        method: POST
        description: Create an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repo-connection_id-organization-id
      path: /repo/{connection_id}/organization/{id}
      operations:
      - name: removerepoorganization
        method: DELETE
        description: Remove an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Organization
          required: true
      - name: getrepoorganization
        method: GET
        description: Retrieve an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Organization
          required: true
      - name: patchrepoorganization
        method: PATCH
        description: Update an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Organization
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updaterepoorganization
        method: PUT
        description: Update an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Organization
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repo-connection_id-pullrequest
      path: /repo/{connection_id}/pullrequest
      operations:
      - name: listrepopullrequests
        method: GET
        description: List All Pullrequests
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: repo_id
          in: query
          type: string
          description: The repo ID to filter by (reference to RepoRepository)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createrepopullrequest
        method: POST
        description: Create a Pullrequest
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repo-connection_id-pullrequest-id
      path: /repo/{connection_id}/pullrequest/{id}
      operations:
      - name: removerepopullrequest
        method: DELETE
        description: Remove a Pullrequest
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Pullrequest
          required: true
      - name: getrepopullrequest
        method: GET
        description: Retrieve a Pullrequest
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Pullrequest
          required: true
      - name: patchrepopullrequest
        method: PATCH
        description: Update a Pullrequest
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Pullrequest
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updaterepopullrequest
        method: PUT
        description: Update a Pullrequest
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Pullrequest
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repo-connection_id-repository
      path: /repo/{connection_id}/repository
      operations:
      - name: listreporepositories
        method: GET
        description: List All Repositories
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: offset
          in: query
          type: number
        - name: updated_gte
          in: query
          type: string
          description: Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ
            format)
        - name: sort
          in: query
          type: string
        - name: order
          in: query
          type: string
        - name: query
          in: query
          type: string
          description: Query string to search. eg. email address or name
        - name: org_id
          in: query
          type: string
          description: The org ID to filter by (reference to RepoOrganization)
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
      - name: createreporepository
        method: POST
        description: Create a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repo-connection_id-repository-id
      path: /repo/{connection_id}/repository/{id}
      operations:
      - name: removereporepository
        method: DELETE
        description: Remove a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Repository
          required: true
      - name: getreporepository
        method: GET
        description: Retrieve a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Repository
          required: true
      - name: patchreporepository
        method: PATCH
        description: Update a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Repository
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: updatereporepository
        method: PUT
        description: Update a Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fields
          in: query
          type: array
          description: Fields to return
        - name: raw
          in: query
          type: string
          description: 'Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters:
            foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar'
        - name: connection_id
          in: path
          type: string
          description: ID of the connection
          required: true
        - name: id
          in: path
          type: string
          description: ID of the Repository
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: authorization
      value: '{{env.UNIFIED_TO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: full-repo-rest
    port: 8080
    description: REST adapter for Unified.to  API — repo. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repo/{connection-id}/branch
      name: repo-connection-id-branch
      description: REST surface for repo-connection_id-branch.
      operations:
      - method: GET
        name: listrepobranches
        description: List All Branches
        call: full-repo.listrepobranches
        with:
          limit: rest.limit
          offset: rest.offset
          updated_gte: rest.updated_gte
          sort: rest.sort
          order: rest.order
          query: rest.query
          repo_id: rest.repo_id
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createrepobranch
        description: Create a Branch
        call: full-repo.createrepobranch
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repo/{connection-id}/branch/{id}
      name: repo-connection-id-branch-id
      description: REST surface for repo-connection_id-branch-id.
      operations:
      - method: DELETE
        name: removerepobranch
        description: Remove a Branch
        call: full-repo.removerepobranch
        with:
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getrepobranch
        description: Retrieve a Branch
        call: full-repo.getrepobranch
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchrepobranch
        description: Update a Branch
        call: full-repo.patchrepobranch
        with:
          fields: rest.fields
          raw: rest.raw
          connection_id: rest.connection_id
          id: rest.id
          body: rest.body
        out

# --- truncated at 32 KB (55 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/unified-to/refs/heads/main/capabilities/full-repo.yaml