v5

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-167122208.0 KB
repositories

index

Example request:

curl https://packagecloud.io/api/v1/repos
get/api/v1/repos

Query parameters

include_collaborationsstring

Include to return Repository objects from

pageinteger

One-based page index.

per_pageinteger

Items per page (default 30). Values above the server's Max-Per-Page are clamped; inspect the Max-Per-Page response header for the effective cap.

Response

Array<Repository> An array of Repository objects that belong to your account.

namestring required

The name of the repo.

created_atstring required

A timestamp of when the repo was created.

urlstring required

The packagecloud URL for the repo.

last_push_humanstring required

A human readable string describing the number of packages in the repo.

privateboolean required

A boolean value indicating whether or not the repo is private.

total_installs_countinteger

The number of times this repository has been installed.

fqnamestring required

A string value of the fully qualified name (owner/reponame) for this repo. i.e. computology/public

package_count_humanstring required

Example response

[
  {
    "name": "myrepo",
    "created_at": "2014-02-26T00:03:28.000Z",
    "url": "https://packagecloud.io/cooluser/myrepo",
    "last_push_human": "3 days ago",
    "package_count_human": "17 packages",
    "private": false,
    "total_installs_count": 1231,
    "fqname": "cooluser/myrepo"
  }
]