Closed tangobravo62 closed 4 years ago
Corrected:
localhost:testdata thomas$ curl --location --request GET 'http://localhost:8089/proseo/prip/odata/v1/Products?$count=true' --header 'Authorization: Basic UzJccHJvc2VvOnByb3Nlbw=='
{
"@odata.context":"$metadata#Products",
"@odata.count":13,
"value":[{
"Id":"5d8a0c19-ab95-4b30-8456-ab4e87fa59c5",
"Name":"S2B_OPER_GIP_JP2KPA_MPC__20160222T110000_V20150622T000000_21000101T000000_B00.DBL",
"ContentType":"application/octet-stream",
"ContentLength":15880,
"PublicationDate":"2015-06-22T00:00:00Z",
"EvictionDate":null,
"Checksums":[{
"Algorithm":"MD5",
"Value":"2d617a156e863845643e69654f530d61",
"ChecksumDate":"2015-06-22T00:00:00Z"
}],
"ContentDate":{
"Start":"2015-06-22T00:00:00Z",
"End":"2100-01-01T00:00:00Z"
},
"ProductionType":"on-demand:non-default"
},
[...]
Calling the PRIP API with
$count=true
has no apparent effect whatsoever.Expected behaviour: A count of the results is returned together with the matching products.