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
Request
- Base URLhttps://packagecloud.io
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
repostring required
Request body multipart/form-data
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"
}
]
}
]Changes
No recorded changes to this operation across all 5 revisions of this API.