Skip to main content

[js] Upload yarn.lock

POST 

/api/v1/catalog/:tagOrId/packages/node/yarn-lock

[js] Upload yarn.lock

Request

Path Parameters

    tagOrId stringrequired

    The tag (x-cortex-tag) or unique, auto-generated identifier for the entity.

Body

required

Stringified version of your yarn.lock file

    string

Responses

Successfully saved packages

Schema

  • Array [

  • dateCreated date-timerequired
    id int64required
    name stringrequired
    packageType stringrequired

    Possible values: [NODE, JAVA, PYTHON, GO, NUGET]

    version stringrequired
  • ]

Loading...