Skip to content
Navigation

getOrgExtensionVersion

Read one release with its data catalog at the release's commit, the tools, schedules, and workflows its code declares, the connections it requires, and whether it has a UI. A prerelease is refused: read it in the repo that defines the extension, at its commit.

GET
/orgs/{org_id}/extensions/{name}/versions/{version}

Path parameters

  • org_id
    string
    required
    pattern: ^org_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • name
    string
    required
    maxLength: 129 · pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$
  • version
    string
    required

    A release, MAJOR.MINOR.PATCH. Only releases are in the org registry, and only releases install. A prerelease (MAJOR.MINOR.PATCH-pre.<commit>) runs only in the repo that defines the extension: read it there at the commit commit_<commit>. listRepoCommitExtensionPublications (extensions list-commit-extension-publications --commit) names the version each extension published at a commit, and the repo's extension reads at that commit (extensions list-extensions or extensions read-files with --commit) return its content.

Returns

200

ExtensionVersionDetails

JSON
  • name
    string
    required
    maxLength: 129 · pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$
  • description
    string
    required
  • version
    required

    One of the following:

    • string
    • string
  • source_repo_id
    string
    required
    pattern: ^repo_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • source_commit_id
    string
    required
    pattern: ^commit_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • dependencies
    map of
    string
    required
  • released
    boolean
    required
  • tarball_integrity
    string
    required
  • published_by_id
    string
    required
    pattern: ^(?:user|extension)_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • published_at
    string
    required
    minLength: 1
  • data_catalog
    object
    required
    • custom_models
      array of
      object
      required
      • name
        string
        required
        minLength: 1
      • api_name
        string
        required
        minLength: 1
      • fields
        array of
        object
        required
        • id
          string
          required
          pattern: ^field_[0-7][0-9a-hjkmnp-tv-z]{25}$
        • name
          string
          required
          minLength: 1
        • api_name
          string
          required
          minLength: 1
        • type
          text
          or
          rich_text
          or
          integer
          or
          decimal
          or
          currency
          or
          percent
          +11 more
          required
        • options
          required

          One of the following:

          • array<string>
          • null
        • required
          boolean
          required
        • unique
          boolean
          required
        • target_repo_id
          required

          One of the following:

          • RepoId
          • null
        • target_model_id
          required

          One of the following:

          • TypeId
          • null
        • on_delete
          required

          One of the following:

          • string
          • null
        • default_value
          required

          One of the following:

          • Option 1
          • null
        • formula
          required

          One of the following:

          • string
          • null
        • target_model
          required

          One of the following:

          • string
          • null
        • filter
          object
          required

          How a search takes this field: the operators its type takes, whether sort takes it, and the form its values are written in.

          • operators
            array of
            eq
            or
            ne
            or
            gt
            or
            gte
            or
            lt
            or
            lte
            +13 more
            required
          • sortable
            boolean
            required
          • value_format
            string
            required
      • primary_field
        required

        One of the following:

        • string
        • null
    • tag_families
      array of
      object
      required
      • id
        string
        required
        pattern: ^tag_family_[0-7][0-9a-hjkmnp-tv-z]{25}$
      • name
        string
        required
        minLength: 1
      • kind
        flat
        or
        tree
        required
      • tags
        array of
        object
        required
        • id
          string
          required
          pattern: ^tag_[0-7][0-9a-hjkmnp-tv-z]{25}$
        • family_id
          string
          required
          pattern: ^tag_family_[0-7][0-9a-hjkmnp-tv-z]{25}$
        • parent_id
          required

          One of the following:

          • TagId
          • null
        • code
          required

          One of the following:

          • string
          • null
        • name
          string
          required
          minLength: 1
        • position
          integer
          required
          maximum: 9007199254740991 · minimum: -9007199254740991
    • ci_checks
      array of
      object
      required
      • id
        string
        required
        pattern: ^ci_check_[0-7][0-9a-hjkmnp-tv-z]{25}$
      • name
        string
        required
        minLength: 1
      • description
        string
        required
        minLength: 1
      • kind
        stdlib
        or
        custom
        required
      • stdlib_function_key
        required

        One of the following:

        • string
        • null
      • stdlib_config
        required

        One of the following:

        • object
        • null
      • custom_source_code
        required

        One of the following:

        • string
        • null
      • severity
        required
        or
        advisory
        required
      • enabled
        boolean
        required
    • agent_instructions
      required

      One of the following:

      • object
        • id
          string
          required
          pattern: ^agent_instructions_[0-7][0-9a-hjkmnp-tv-z]{25}$
        • content
          string
          required
      • null
    • agent_skills
      array of
      object
      required
      • id
        string
        required
        pattern: ^agent_skill_[0-7][0-9a-hjkmnp-tv-z]{25}$
      • name
        string
        required
        maxLength: 64 · pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
      • files
        array of
        object
        required
        • id
          string
          required
          pattern: ^agent_skill_file_[0-7][0-9a-hjkmnp-tv-z]{25}$
        • path
          string
          required
          maxLength: 256 · pattern: ^(?:[A-Za-z0-9_][A-Za-z0-9._-]*\/)*[A-Za-z0-9_][A-Za-z0-9._-]*$
        • content
          string
          required
    • peer_models
      optional
      array of
      object
      • table_name
        string
        required
        minLength: 1
      • extension_name
        string
        required
        maxLength: 129 · pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$
      • source_model_id
        string
        required
        pattern: ^[a-z](?:[a-z_]{0,61}[a-z])?_[0-7][0-9a-hjkmnp-tv-z]{25}$
  • kind
    installable
    or
    service
    required
  • tools
    array of
    object
    required
    • name
      string
      required
      maxLength: 128 · pattern: ^[A-Za-z_][A-Za-z0-9_]*(?:\.[A-Za-z_][A-Za-z0-9_]*)*$
    • description
      string
      required
    • input_schema
      object
      required
    • output_schema
      required

      One of the following:

      • object
      • null
  • schedules
    array of
    object
    required
    • name
      string
      required
      maxLength: 128 · pattern: ^[A-Za-z_][A-Za-z0-9_]*$
    • tool
      string
      required
      maxLength: 128 · pattern: ^[A-Za-z_][A-Za-z0-9_]*(?:\.[A-Za-z_][A-Za-z0-9_]*)*$
    • cron
      object
      required
      • expression
        string
        required
        minLength: 1
      • timezone
        string
        required
        minLength: 1
    • input
      unknown
      required
  • workflows
    array of
    object
    required
    • name
      string
      required
      maxLength: 128 · pattern: ^[A-Za-z_][A-Za-z0-9_]*$
    • description
      string
      required
    • input_schema
      object
      required
    • output_schema
      required

      One of the following:

      • object
      • null
    • signals
      array of
      object
      required
      • name
        string
        required
        maxLength: 64 · pattern: ^[A-Za-z_][A-Za-z0-9_]*$
      • payload_schema
        object
        required
  • requirements
    array of
    object
    required
    • name
      string
      required
      maxLength: 128 · pattern: ^[A-Za-z_][A-Za-z0-9_]*$
    • scope
      org
      or
      user
      required
    • provider_id
      string
      required
      pattern: ^prv_[0-9a-f]{64}$
    • hosts
      array of
      string
      required
      pattern: ^(\*\.(?=[^.:]+\.))?[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*(?::[1-9][0-9]{0,4})?$
    • declares_health
      boolean
      required
  • providers
    array of
    object
    required
    • id
      string
      required
      pattern: ^prv_[0-9a-f]{64}$
    • definition
      object
      required
      • name
        string
        required
        minLength: 1
      • auth
        map of
        AuthMethodDefinition
        required
      • hosts
        array of
        string
        required
        pattern: ^(\*\.(?=[^.:]+\.))?[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*(?::[1-9][0-9]{0,4})?$
  • ui
    boolean
    required

400

InvalidRequest
JSON
  • _tag
    InvalidRequest
    required
  • part
    path
    or
    query
    or
    headers
    or
    body
    required
  • issues
    array of
    object
    required
    • path
      array of
      required

      One of the following:

      • string
      • integer
    • message
      string
      required

401

InvalidCredentials
JSON
  • _tag
    InvalidCredentials
    required

403

Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON

One of the following:

  • ForbiddenEncoded
    • _tag
      Forbidden
      required
    • message
      string
      required
  • ForbiddenOriginEncoded
    • _tag
      ForbiddenOrigin
      required
  • RequiresPersonalSessionEncoded
    • _tag
      RequiresPersonalSession
      required
  • RunBranchRequiredEncoded
    • _tag
      RunBranchRequired
      required
    • branch
      string
      required
      minLength: 1
    • message
      string
      required

404

ExtensionVersionNotFound | OrgNotFound | RepoNotFound
JSON

One of the following:

  • ExtensionVersionNotFoundEncoded
    • _tag
      ExtensionVersionNotFound
      required
    • extension_name
      string
      required
      minLength: 1
    • version
      string
      required
    • message
      string
      required
  • OrgNotFoundEncoded
    • _tag
      OrgNotFound
      required
  • RepoNotFoundEncoded
    • _tag
      RepoNotFound
      required

429

RateLimited
JSON
  • _tag
    RateLimited
    required

500

OrgFailure | RepoFailure
JSON

One of the following:

  • OrgFailureEncoded
    • _tag
      OrgFailure
      required
    • reason
      string
      required
  • RepoFailureEncoded
    • _tag
      RepoFailure
      required
    • reason
      string
      required

503

SessionUnavailable | RateLimitUnavailable
JSON

One of the following:

  • SessionUnavailableEncoded
    • _tag
      SessionUnavailable
      required
  • RateLimitUnavailableEncoded
    • _tag
      RateLimitUnavailable
      required

Type to search…

↑↓ navigate↵ selectEsc close