catalogs

Create a new package in a user catalog

Changed on

Creates a catalog package

Path Parameters:

  • catalog_name: The name of catalog to place the package into

Required Query Parameters:

  • name: The name of package (attr_path) to create

Returns:

  • UserPackage
post/api/v1/catalog/catalogs/{catalog_name}/packages

Request

  • The document declares no server URL.
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

catalog_namestring required
Example:mycatalog

Query parameters

namestring required
Example:curl

Request body

original_urlstring nullable

Response

The package already exists

catalogstring required
namestring required
original_urlstring nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      changed the pattern of the path request parameter catalog_name from [a-zA-Z0-9\-_]{3,64} to ^[a-zA-Z0-9\-_]{3,63}$