Run a PicApport query inside of a WebApi-Session that has previously created with createWebApiSession.
Working example URL: https://en.onlinedemo.picapport.de/picapportapi/1.0/runQuery?query=animals
API version
1.0
Parameter
Name | Type | Since version | Required | Value(s) |
---|---|---|---|---|
apisid | string | 7.4 | yes | Based on the setting of webapi.default.uid in picapport.properties you may provide one of the following values
|
query | string | 7.4 | yes | A valid PicApport query. see: http://onlinedemo.picapport.de:8080/picapport#help Because PicApport query may contain special characters make sure that you URL are properly encoded e.g wig the JavaScript function encodeURIComponent() |
Result
mime type | application/json |
---|---|
content | Session token to identify the authorized session and an information to access the photos |
http status codes |
|
Result:JSON
Name | Type | Since | Value |
---|---|---|---|
apisid | string | 7.4 | Session-ID returned from createWebApiSession |
vid | int | 7.4 | A view id to identify the query |
count | int | 7.4 | Number of photos found for the query |