POST /api/v1/packs/register

Register pack(s): sync all file changes with DB.

Request

  • The document declares no server URL.
  • Auth
    • API key in header X-Auth-Token
    • or API key in header St2-Api-Key
    • or API key in query parameter x-auth-token
    • or API key in query parameter st2-api-key
    • or API key in header auth-token

Request body

packsstring[]

ref of the packs in Exchange, or a git repo URL.

typesPacksContentRegisterType[]

Types of content to register.

fail_on_failureboolean

True to fail on failure

Response

Pack(s) Registered.

authorstring

Author of the pack.

descriptionstring

Description of the pack.

namestring

Name of the pack.

refstring

Reference of the pack.

versionstring

Version of the pack.

contentobject

Content type in the pack.

keywordsstring[]

Keywords associated with the pack.

repo_urlstring

URL of the Pack's repo.

Changes

No recorded changes to this operation across all 73 revisions of this API.