admins

adds an inventory item

Changed on

Adds an item to the system

post/dependencies

Request

  • Base URL
    http://localhost:8506/api
  • URL
    http://localhost:8506/api/dependencies
  • Auth
    HTTP bearer

Query parameters

asyncboolean

Request body

languagestring
languageVersionstring
vcsHost'Github HMCTS' | 'Gerrit' | 'Github MoJ' | 'Github CJS Common Platform' | 'Azure Portal' | 'S: Drive' | 'SharePoint' | 'Gitlab' | 'Subversion' | 'OneDrive Justice.gov.uk (individuals)' required
hmctsApplicationstring required
codeRepositorystring required
encodedDependencyListstring byte required
encodedDependencyListOtherstring byte
parser'gradle' | 'maven' | 'npm' | 'yarn' | 'pip' | 'dotnet' required

Example request

{
  "language": "node",
  "languageVersion": "18-alpine",
  "vcsHost": "github.com/hmcts",
  "codeRepository": "dtsse-ardoq-adapter",
  "encodedDependencyList": "U3dhZ2dlciByb2Nrcw==",
  "encodedDependencyListOther": "U3dhZ2dlciByb2Nrcw==",
  "parser": "gradle"
}

Response

item created

Changes

    • breaking

      added the new required request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • breaking

      removed the enum value azure devops of the request property

    • breaking

      removed the enum value cpp gerrit of the request property

    • breaking

      removed the enum value github.com/cjscommonplatform of the request property

    • breaking

      removed the enum value github.com/hmcts of the request property

    • breaking

      removed the enum value github.com/ministryofjustice of the request property

    • breaking

      removed the enum value s drive of the request property

    • breaking

      removed the enum value sharepoint of the request property

    • info

      added the new Azure Portal enum value to the request property

    • info

      added the new Gerrit enum value to the request property

    • info

      added the new Github CJS Common Platform enum value to the request property

    • info

      added the new Github HMCTS enum value to the request property

    • info

      added the new Github MoJ enum value to the request property

    • info

      added the new Gitlab enum value to the request property

    • info

      added the new OneDrive Justice.gov.uk (individuals) enum value to the request property

    • info

      added the new S: Drive enum value to the request property

    • info

      added the new SharePoint enum value to the request property

    • info

      added the new Subversion enum value to the request property