Resources Package Query Basic Info
Query Basic Info
Http Method
GET
End Point
/~api/packages
Query Parameters
Parameter Description Required Example
query Syntax of this query is the same as in packages page No "Type" is "Container Image"
offset Offset Yes 0
count Count Yes 100
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
[ {
"id" : 1 ,
"projectId" : 1 ,
"type" : "string" ,
"name" : "string" ,
"version" : "string" ,
"prerelease" : true ,
"userId" : 1 ,
"buildId" : 1 ,
"publishDate" : "2024-12-03T17:27:03.291+00:00"
}
]
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> -G https://git.codedune.app/~api/packages --data-urlencode 'query="Type" is "Container Image"' --data-urlencode offset=0 --data-urlencode count=100
Please wait...
Page is in error, reload to recover