The privatepkgs API gives you access to interact with your own private package registry.
To properly interact with the API, you must use the Bearer
authentication scheme. Each request should have the Authorization
header with your API token.
The API exposes a variety of endpoints under the URL https://api.privatepkgs.com
and generally follows the REST architecture.
{ "pagination": { "count": 1, "prev": null, "next": 1696674097584 }, "data": [ { "id": "19cb44f0-9016-43c4-b73b-6f0fb34c755f", "name": "Default License", "key": "12345-12345-ABCDE", "suspended": false, "meta": { "key": "value" }, "packages": [ "example-package" ], "createdAt": 1672531200000, "updatedAt": 1672531200000 } ] }
{ "id": "19cb44f0-9016-43c4-b73b-6f0fb34c755f", "name": "Default License", "key": "12345-12345-ABCDE", "constraint": { "type": "none" }, "suspended": false, "meta": { "key": "value" }, "packages": [ null ], "createdAt": 1672531200000, "updatedAt": 1672531200000 }
{ "id": "19cb44f0-9016-43c4-b73b-6f0fb34c755f", "name": "Default License", "key": "12345-12345-ABCDE", "constraint": { "type": "none" }, "suspended": false, "meta": { "key": "value" }, "packages": [ null ], "createdAt": 1672531200000, "updatedAt": 1672531200000 }
{ "id": "19cb44f0-9016-43c4-b73b-6f0fb34c755f", "name": "Default License", "key": "12345-12345-ABCDE", "constraint": { "type": "none" }, "suspended": false, "meta": { "key": "value" }, "packages": [ null ], "createdAt": 1672531200000, "updatedAt": 1672531200000 }