Description: Retrieve packages files
URL: http://{your-server-url}/api/v2/core/software/packages/files
Method: GET
Token Required: True
token: {token}
content-type: application/json or content-type: application/xml
| Parameter | Type | Nullable | Description |
|---|---|---|---|
| sort | string | True | sorting fields: id, names, softpkgid, typeid, createddate, version. Comma seperated values, unary negative to imply descending sort order, e.g. sort=-id |
| rpp | int | True | records per page, default = 50, max = 500 |
| page | int | True | page number |
| ids | int | True | comma separated values, eg. ids=1,2,3 |
| names | string | True | Comma seperated values, e.g. names=files1,files2 |
| softpkgids | int | True | Comma seperated values, e.g. softpkgids=11,33 |
| typeids | int | True | Comma seperated values, e.g. typeids=1,2 |
| versions | string | True | Comma seperated values, e.g. versions=1.0.0.1,2.0.0.0 |
Example: http://{your-server-url}/api/v2/core/software/packages/files?sort=string&rpp=100&page=100
Type: Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Software.SoftwareResponse
| Parameter | Type |
|---|---|
| Response.PackageFiles | Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software.PackageFile[] |
| Response.CurrentPage | int |
| Response.TotalPages | int |
| Response.Rpp | int |
| Response.TotalCount | int |
<SoftwareResponse xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages.AppSpaceIntegration.v1.Software" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<DebugMessage xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">String</DebugMessage>
<Errors xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">
<Error>
<Code>String</Code>
<Message>String</Message>
<StackTrace>String</StackTrace>
</Error>
</Errors>
<Status xmlns="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Messages">Success</Status>
<CurrentPage>123</CurrentPage>
<PackageFiles xmlns:a="http://schemas.datacontract.org/2004/07/Nexus.AppSpace.Service.Contract.Model.DTO.AppSpaceIntegration.v1.Software">
<a:PackageFile>
<a:BaseFile>String</a:BaseFile>
<a:CreatedDate>2015-08-25T17:54:28.8347647Z</a:CreatedDate>
<a:Id>123</a:Id>
<a:Name>String</a:Name>
<a:PackageFileTypeId>123</a:PackageFileTypeId>
<a:Size>0</a:Size>
<a:SoftwarePackageId>123</a:SoftwarePackageId>
<a:UpdatedDate>2015-08-25T17:54:28.8347647Z</a:UpdatedDate>
<a:Version>String</a:Version>
</a:PackageFile>
</PackageFiles>
<Rpp>123</Rpp>
<TotalCount>123</TotalCount>
<TotalPages>123</TotalPages>
</SoftwareResponse>
{
"DebugMessage":"String",
"Errors":[
{
"Code":"String",
"Message":"String",
"StackTrace":"String"
}
],
"Status":1,
"CurrentPage":123,
"PackageFiles":[
{
"BaseFile":"String",
"CreatedDate":"\/Date(1440525268834)\/",
"Id":123,
"Name":"String",
"PackageFileTypeId":123,
"Size":0,
"SoftwarePackageId":123,
"UpdatedDate":"\/Date(1440525268834)\/",
"Version":"String"
}
],
"Rpp":123,
"TotalCount":123,
"TotalPages":123
}