-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into uitpas/online-uitpas
# Conflicts: # projects/uitpas/reference/uitpas.json
- Loading branch information
Showing
26 changed files
with
568 additions
and
115 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,19 @@ | ||
# Requesting client credentials | ||
|
||
Before you can start making authenticated API requests, you need to register your integration with us so we can provide you with the necessary credentials. | ||
## UiTPAS API & UiTdatabank APIs | ||
|
||
While we are working on a new self-service platform where you will be able to register your project for any API integration and automatically recieve client credentials in the future, the method to request your credentials currently varies per API as it is handled by multiple teams. | ||
Before you can start making authenticated API requests to UiTPAS and/or UiTdatabank, you need to register your integration on our self-service platform [publiq platform](https://platform.publiq.be). In the registration process you'll need to pick the API you want to use: | ||
|
||
> You may access multiple APIs with the same client credentials, but your project needs to be configured correctly on our side to have permission to access all the APIs you need. So if you require access to multiple APIs, make sure to mention this when requesting the credentials so we can give your client sufficient access permissions. | ||
* [UiTPAS API](https://docs.publiq.be/docs/uitpas/introduction) | ||
* [UiTdatabank Entry API](https://docs.publiq.be/docs/uitdatabank/entry-api/introduction) | ||
* [UiTdatabank Search API](https://docs.publiq.be/docs/uitdatabank/search-api/introduction) | ||
|
||
## UiTPAS | ||
Note that the UiTPAS API will also grant you access to the UiTdatabank Entry API. | ||
|
||
To use [UiTPAS API v4](https://docs.publiq.be/docs/uitpas/introduction), see its [quickstart guide](https://docs.publiq.be/docs/uitpas/d0748f47a3dba-quick-start) to request a client id and client secret via the linked Google Form. | ||
Registration and access to our test environment is free. After registration you'll immediately get your test credentials. | ||
|
||
## UiTdatabank | ||
[![Add your entry API integration](https://raw.githubusercontent.com/cultuurnet/apidocs/main/assets/add-your-integration.svg)](https://platform.publiq.be) | ||
|
||
UiTdatabank APIs historically use a custom authentication method based on API keys instead of client ids and secrets. | ||
## museumPASSmusées Partner API | ||
|
||
Support for the standardized authentication methods documented in this space has been implemented, but new client ids and secrets are only provided to a select few partners that are trying out these new authentication methods in UiTdatabank. In the future this will be opened up to all integrators. | ||
|
||
Want to start integrating with UiTdatabank right now? There are three options: | ||
|
||
1. If you need to integrate with both the **UiTPAS API and UiTdatabank API(s)**, you can follow the procedure of requesting credentials for the UiTPAS API and mention that you also require access to the UiTdatabank APIs. We will then provide you with a set of credentials that can access both. | ||
2. **Or**, if you only need to integrate with the UiTdatabank API(s) you can register your integration at [publiq platform](https://platform.publiq.be) to automatically get a test **client id** and **secret**. | ||
|
||
Aside from the authentication method all API operations on the UiTdatabank APIs work exactly the same whether you have a client id and secret, or an API key. | ||
|
||
## museumPASSmusées | ||
|
||
Access to the [museumPASSmusées Partner API](https://docs.publiq.be/docs/museumpassmusees/introduction) is only provided to very specific partners for now as the primary use case at the moment is registering museum visits via a card reader. To request your credentials, please contact <[email protected]>. | ||
The [museumPASSmusées Partner API](https://docs.publiq.be/docs/museumpassmusees/introduction) is currently not included on our self-service platforma, as it is only provided to very specific partners for now as the primary use case at the moment is registering museum visits via a card reader. To request your credentials, please contact <[email protected]>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 34 additions & 1 deletion
35
projects/uitdatabank/docs/search-api/filters/booking-availability.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,36 @@ | ||
# Booking Availability | ||
|
||
coming soon. | ||
All events and places created in UiTdatabank have a `bookingAvailability` property. The bookingAvailability indicates whether there are still tickets or seats available for an event. | ||
|
||
> The bookingAvailability only indicates whether there are still tickets or seats available for an event. It does not provide information about any cancellations or date changes, which are instead indicated by the `status`. | ||
## Using the bookingAvailability parameter | ||
|
||
**Applicable on endpoints** | ||
|
||
`/events` `/places` `/offers` | ||
|
||
**Possible values** | ||
|
||
* `Available`: there are still tickets or seats left for the event, or the capacity for the event is unlimited. | ||
* `Unavailable`: the event is sold out or fully booked. | ||
|
||
**Examples** | ||
|
||
Search for all events that still have available tickets or open spots (URL parameter): | ||
|
||
```https | ||
GET /events/?bookingAvailability=Available | ||
``` | ||
|
||
Search for all events that are sold out or fully booked (advanced query parameter): | ||
|
||
```https | ||
GET /events/?q=status:Unavailable | ||
``` | ||
|
||
Search for all events that are not sold out or fully booked, and happen as plannend (advanced query parameters): | ||
|
||
```https | ||
GET /events/?q=bookingAvailability:Available AND status:Available | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,53 @@ | ||
# status | ||
# Status | ||
|
||
coming soon. | ||
All events and places created in UiTdatabank have a `status` property. The status indicates whether | ||
|
||
* an event is still happening as plannend or not | ||
* a place is still open for visits or not | ||
|
||
> The status only indicates whether an event or place is proceeding as planned or is currently open. It does not provide information about the availability of tickets or spots, which is instead indicated by the `booking-availability`. | ||
## Using the status parameter | ||
|
||
You can use the `status` for filtering out items that are still available for visits or not. You can use the status filter as: | ||
|
||
* an url parameter (e.g. `status=available`) | ||
* an advanced query parameter (e.g. `status:avaialble`) | ||
|
||
**Applicable on endpoints** | ||
|
||
`/events` `/places` `/offers` | ||
|
||
**Possible values** | ||
|
||
Events: | ||
|
||
* `available`: the event takes place as planned This is the default value when no status for the event or subEvent is included. | ||
* `temporarilyUnavailable`: the event has been postponed to a later date yet to be determined. | ||
* `unavailable`: the event has been cancelled. | ||
|
||
Places: | ||
|
||
* `available`: the place is 'open' and can be visited during opening hours. This is the default value when no status for the place is included. | ||
* `temporarilyUnavailable`: the place is temporarily closed (due to renovations for example). | ||
* `unavailable`: the place still exists (physically), but is permanently closed. | ||
|
||
**Examples** | ||
|
||
Search for all events that take places as planned (URL parameter): | ||
|
||
```https | ||
GET /events/?status=Available | ||
``` | ||
|
||
Search for all places that are permanently closed (advanced query parameter): | ||
|
||
```https | ||
GET /places/?q=status:Unavailable | ||
``` | ||
|
||
Search for all events that are available in a given date range (advanced query parameters): | ||
|
||
```https | ||
GET /events/?q=status:Unavailable AND dateRange:[2025-05-01T00\:00\:00%2B01\:00 TO 2025-06-31T23\:59\:59%2B01\:00] | ||
``` |
Oops, something went wrong.