Revyl App branches API

The App branches API from Revyl — 2 operation(s) for app branches.

Operations 4

GET /api/v1/apps/{app_id}/branches List Branches #
POST /api/v1/apps/{app_id}/branches Create Branch #
GET /api/v1/apps/{app_id}/branches/{branch_id} Get Branch #
PATCH /api/v1/apps/{app_id}/branches/{branch_id} Update Branch #

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/revyl:revyl-app-branches-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

revyl-app-branches-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Revyl API
  title: Revyl App branches API
  version: 1.0.0
servers:
- description: Production
  url: https://backend.revyl.ai
tags:
- name: App branches
paths:
  /api/v1/apps/{app_id}/branches:
    get:
      description: 'List an app''s branches: the default branch first, then most recently active first.'
      operationId: list_branches_api_v1_apps__app_id__branches_get
      parameters:
      - in: path
        name: app_id
        required: true
        schema:
          format: uuid
          title: App Id
          type: string
      - description: Page number (1-indexed)
        in: query
        name: page
        required: false
        schema:
          default: 1
          description: Page number (1-indexed)
          maximum: 2147483647
          minimum: 1
          title: Page
          type: integer
      - description: Branches per page (max 100)
        in: query
        name: page_size
        required: false
        schema:
          default: 50
          description: Branches per page (max 100)
          maximum: 100
          minimum: 1
          title: Page Size
          type: integer
      - description: Only the branch with exactly this name
        in: query
        name: name
        required: false
        schema:
          anyOf:
          - maxLength: 255
            minLength: 1
            type: string
          - type: 'null'
          description: Only the branch with exactly this name
          title: Name
      - description: Only branches whose name contains this text (case-insensitive)
        in: query
        name: search
        required: false
        schema:
          anyOf:
          - maxLength: 255
            type: string
          - type: 'null'
          description: Only branches whose name contains this text (case-insensitive)
          title: Search
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildBranchListResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
      - HTTPBearer: []
      summary: List Branches
      tags:
      - App branches
    post:
      operationId: create_branch_api_v1_apps__app_id__branches_post
      parameters:
      - in: path
        name: app_id
        required: true
        schema:
          format: uuid
          title: App Id
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BuildBranchCreateRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildBranchResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
      - HTTPBearer: []
      summary: Create Branch
      tags:
      - App branches
  /api/v1/apps/{app_id}/branches/{branch_id}:
    get:
      operationId: get_branch_api_v1_apps__app_id__branches__branch_id__get
      parameters:
      - in: path
        name: app_id
        required: true
        schema:
          format: uuid
          title: App Id
          type: string
      - in: path
        name: branch_id
        required: true
        schema:
          format: uuid
          title: Branch Id
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildBranchResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
      - HTTPBearer: []
      summary: Get Branch
      tags:
      - App branches
    patch:
      operationId: update_branch_api_v1_apps__app_id__branches__branch_id__patch
      parameters:
      - in: path
        name: app_id
        required: true
        schema:
          format: uuid
          title: App Id
          type: string
      - in: path
        name: branch_id
        required: true
        schema:
          format: uuid
          title: Branch Id
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BuildBranchUpdateRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildBranchResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
      - HTTPBearer: []
      summary: Update Branch
      tags:
      - App branches
components:
  schemas:
    BuildBranchListResponse:
      description: 'One page of an app''s branches.


        The app''s default branch comes first, then the rest most recently active

        first: created, renamed, pinned, unpinned or given a build. Ties break by

        id. A search narrows the pages and the counts alike.'
      properties:
        branches:
          items:
            $ref: '#/components/schemas/BuildBranchListItem'
          maxItems: 100
          title: Branches
          type: array
        has_next:
          description: Whether a later page exists
          title: Has Next
          type: boolean
        has_previous:
          description: Whether an earlier page exists
          title: Has Previous
          type: boolean
        page:
          default: 1
          description: Current page number (1-indexed)
          maximum: 2147483647.0
          minimum: 1.0
          title: Page
          type: integer
        page_size:
          default: 50
          description: Branches per page
          maximum: 100.0
          minimum: 1.0
          title: Page Size
          type: integer
        total:
          default: 0
          description: Branches matching the request
          minimum: 0.0
          title: Total
          type: integer
        total_pages:
          default: 1
          description: Total number of pages
          minimum: 1.0
          title: Total Pages
          type: integer
      required:
      - has_next
      - has_previous
      title: BuildBranchListResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    BuildBranchResponse:
      properties:
        app_id:
          format: uuid
          title: App Id
          type: string
        created_at:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          title: Created At
        id:
          format: uuid
          title: Id
          type: string
        name:
          maxLength: 255
          minLength: 1
          title: Name
          type: string
        pinned_build_available:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Pinned Build Available
        pinned_build_id:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: Pinned Build Id
        pinned_build_version:
          anyOf:
          - type: string
          - type: 'null'
          title: Pinned Build Version
      required:
      - id
      - app_id
      - name
      title: BuildBranchResponse
      type: object
    BuildBranchLatestBuild:
      description: The build a run following Latest would use on a branch.
      properties:
        id:
          format: uuid
          title: Id
          type: string
        uploaded_at:
          format: date-time
          title: Uploaded At
          type: string
        version:
          title: Version
          type: string
      required:
      - id
      - version
      - uploaded_at
      title: BuildBranchLatestBuild
      type: object
    BuildBranchListItem:
      description: One branch in a page of an app's branches.
      properties:
        app_id:
          format: uuid
          title: App Id
          type: string
        created_at:
          anyOf:
          - format: date-time
            type: string
          - type: 'null'
          title: Created At
        id:
          format: uuid
          title: Id
          type: string
        is_default:
          description: Whether this is the app's default branch, which the list puts first
          title: Is Default
          type: boolean
        latest_build:
          anyOf:
          - $ref: '#/components/schemas/BuildBranchLatestBuild'
          - type: 'null'
          description: The build a run following Latest would use on the branch; null when there is none
        name:
          maxLength: 255
          minLength: 1
          title: Name
          type: string
        pinned_build_available:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Pinned Build Available
        pinned_build_id:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: Pinned Build Id
        pinned_build_version:
          anyOf:
          - type: string
          - type: 'null'
          title: Pinned Build Version
      required:
      - id
      - app_id
      - name
      - is_default
      title: BuildBranchListItem
      type: object
    BuildBranchUpdateRequest:
      additionalProperties: false
      properties:
        name:
          anyOf:
          - maxLength: 255
            minLength: 1
            type: string
          - type: 'null'
          title: Name
        pinned_build_id:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: Pinned Build Id
      title: BuildBranchUpdateRequest
      type: object
    BuildBranchCreateRequest:
      additionalProperties: false
      properties:
        name:
          maxLength: 255
          minLength: 1
          title: Name
          type: string
      required:
      - name
      title: BuildBranchCreateRequest
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
      - loc
      - msg
      - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http