OpsMill Diff API

The Diff API from OpsMill — 2 operation(s) for diff.

Operations 2

GET /api/diff/files Get Diff Files #
GET /api/diff/artifacts Get Diff Artifacts #

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/opsmill-diff-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 email required.

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

OpenAPI Specification

opsmill-diff-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Infrahub Artifact Diff API
  version: 1.10.0
servers:
- url: https://sandbox.infrahub.app/api
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Diff
paths:
  /api/diff/files:
    get:
      summary: Get Diff Files
      operationId: get_diff_files_api_diff_files_get
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: time_from
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Time From
      - name: time_to
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Time To
      - name: branch_only
        in: query
        required: false
        schema:
          type: boolean
          default: true
          title: Branch Only
      - name: branch
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Name of the branch to use for the query
          title: Branch
        description: Name of the branch to use for the query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
                  additionalProperties:
                    $ref: '#/components/schemas/BranchDiffRepository'
                title: Response Get Diff Files Api Diff Files Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Diff
  /api/diff/artifacts:
    get:
      summary: Get Diff Artifacts
      operationId: get_diff_artifacts_api_diff_artifacts_get
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: branch
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Name of the branch to use for the query
          title: Branch
        description: Name of the branch to use for the query
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  $ref: '#/components/schemas/BranchDiffArtifact'
                title: Response Get Diff Artifacts Api Diff Artifacts Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Diff
components:
  schemas:
    BranchDiffRepository:
      properties:
        branch:
          type: string
          title: Branch
        id:
          type: string
          title: Id
        display_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Display Name
        commit_from:
          type: string
          title: Commit From
        commit_to:
          type: string
          title: Commit To
        files:
          items:
            $ref: '#/components/schemas/BranchDiffFile'
          type: array
          title: Files
      type: object
      required:
      - branch
      - id
      - commit_from
      - commit_to
      title: BranchDiffRepository
    ArtifactTarget:
      properties:
        id:
          type: string
          title: Id
        kind:
          type: string
          title: Kind
        display_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Display Label
      type: object
      required:
      - id
      - kind
      title: ArtifactTarget
    DiffAction:
      type: string
      enum:
      - added
      - removed
      - updated
      - unchanged
      title: DiffAction
    BranchDiffArtifactStorage:
      properties:
        storage_id:
          type: string
          title: Storage Id
        checksum:
          type: string
          title: Checksum
      type: object
      required:
      - storage_id
      - checksum
      title: BranchDiffArtifactStorage
    BranchDiffArtifact:
      properties:
        branch:
          type: string
          title: Branch
        id:
          type: string
          title: Id
        display_label:
          anyOf:
          - type: string
          - type: 'null'
          title: Display Label
        action:
          $ref: '#/components/schemas/DiffAction'
        target:
          anyOf:
          - $ref: '#/components/schemas/ArtifactTarget'
          - type: 'null'
        item_new:
          anyOf:
          - $ref: '#/components/schemas/BranchDiffArtifactStorage'
          - type: 'null'
        item_previous:
          anyOf:
          - $ref: '#/components/schemas/BranchDiffArtifactStorage'
          - type: 'null'
      type: object
      required:
      - branch
      - id
      - action
      title: BranchDiffArtifact
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    BranchDiffFile:
      properties:
        branch:
          type: string
          title: Branch
        location:
          type: string
          title: Location
        action:
          $ref: '#/components/schemas/DiffAction'
      type: object
      required:
      - branch
      - location
      - action
      title: BranchDiffFile
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-INFRAHUB-KEY