Endpoints
Data
Currently the functionality of the repository is in beta testing. All data are offered without limitations for testing the interoperability of the system.
Theater Data in JSON Format
https://repo.ancienttheatersofepirus.gr/wp-json/wp/v2/theatre
Points of Interest Data in JSON Format
https://repo.ancienttheatersofepirus.gr/wp-json/wp/v2/pois
Pagination Parameters
Any API response which contains multiple resources supports several common query parameters to handle paging through the response data:
?page=
: specify the page of results to return.- For example,
/wp/v2/pois?page=2
is the second page of posts results - By retrieving
/wp/v2/pois
, then/wp/v2/pois?page=2
, and so on, you may access every available post through the API, one page at a time.
- For example,
?per_page=
: specify the number of records to return in one request, specified as an integer from 1 to 100.- For example,
/wp/v2/pois?per_page=1
will return only the first post in the collection
- For example,
?offset=
: specify an arbitrary offset at which to start retrieving posts- For example,
/wp/v2/pois?offset=6
will use the default number of posts per page, but start at the 6th post in the collection ?per_page=5&page=4
is equivalent to?per_page=5&offset=15
- For example,
Δημιουργία | June 3, 2020 |
---|---|
Τελευταία Ανανέωση | July 30, 2020 |