packages
contents
Inspect the contents of a debian source package.
Example request:
curl -X POST \
-F "package[distro_version_id]=17" \
-F "package[package_file]=@path/to/jake_1.0-7.dsc" \
"https://packagecloud.io/api/v1/repos/test_user/test_repo/packages/contents.json"
post/api/v1/repos/{user_id}/{repo}/packages/contents.json
Path parameters
user_idstring required
repostring required
Response
PackageContents A JSON object with a files key containing an array of files referenced in this source package.
Example response
[
{
"files": [
{
"filename": "jake_1.0.orig.tar.bz2",
"size": 1108,
"md5sum": "a7a309b55424198ee98abcb8092d7be0"
},
{
"filename": "jake_1.0-7.debian.tar.gz",
"size": 1571,
"md5sum": "0fa5395e95ddf846b419e96575ce8044"
}
]
}
]