{
"variable": [
{
"id": "baseUrl",
"key": "baseUrl",
"type": "string",
"name": "string",
"value": "app.crescat.io"
}
],
"info": {
"name": "Crescat",
"_postman_id": "1a46eaf8-d234-4df2-9100-9c50c7bbaffd",
"description": "",
"schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
},
"item": [
{
"name": "Group",
"description": "",
"item": [
{
"name": "GET Group Event List",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "external\/v1\/calendar",
"query": [],
"raw": "{{baseUrl}}\/external\/v1\/calendar",
"variable": [
{
"id": "start",
"key": "start",
"value": "unde",
"description": "Start of dates to query.
If not provided<\/strong>: today.
Format<\/strong>: 2000-01-01"
},
{
"id": "end",
"key": "end",
"value": "est",
"description": "End of dates to query.
If not provided<\/strong>: today.
Format<\/strong>: 2000-01-01"
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get array of all events for your group"
},
"response": [
{
"header": [],
"code": 200,
"body": "{\n [\n {\n \"id\": 1,\n \"name\": \"Event Name\",\n \"start\": 2000-01-01 12:00:00,\n \"end\": 2000-01-01 15:00:00,\n \"event_type_id\": 1,\n \"fields\": [\n {\n \"id\": 1,\n \"show_time_id\": 1,\n \"value\": *,\n }\n for details on formatting: see event field format\n ],\n \"show_times\": [\n {\n \"id\": 1,\n \"title\": \"Show Title\",\n \"start\": 2000-01-01 12:00:00,\n \"end\": 2000-01-01 15:00:00,\n \"room_id\": 1,\n }\n ],\n \"rooms\": [\n {\n \"id\": 1,\n \"name\": \"Room Name\",\n \"title\": \"Show Title\",\n \"start\": 2000-01-01 12:00:00,\n \"end\": 2000-01-01 15:00:00,\n }\n ],\n }\n ]\n}",
"name": ""
}
]
},
{
"name": "GET Group Event Response Format",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "external\/v1\/calendar\/format",
"query": [],
"raw": "{{baseUrl}}\/external\/v1\/calendar\/format"
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get format of events returned when requesting events"
},
"response": [
{
"header": [],
"code": 200,
"body": "{\n event_types [\n {\n \"id\": 1,\n \"name\": \"Event Type\",\n }\n ],\n fields [\n {\n \"id\": 1,\n \"title\": \"Title of Your Field\",\n \"format\": String,\n }\n ]\n\nFormats of Fields:\n String\n Rich formatted Text\n Date (2000-01-01)\n Time (12:00:00)\n Document url\n Boolean\n}",
"name": ""
},
{
"header": [],
"code": 401,
"body": "",
"name": "Festival Not Found: either not existing, or not your festival."
}
]
}
]
},
{
"name": "Venue\/Rooms",
"description": "",
"item": [
{
"name": "GET Venue Rooms List",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "external\/v1\/rooms",
"query": [],
"raw": "{{baseUrl}}\/external\/v1\/rooms"
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get array of all rooms on your venue"
},
"response": [
{
"header": [],
"code": 200,
"body": "{\n [\n {\n \"id\": 1,\n \"name\": \"Room Name\",\n }\n ]\n}",
"name": ""
}
]
},
{
"name": "GET Room Booking List",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "external\/v1\/rooms\/:roomId\/calendar",
"query": [],
"raw": "{{baseUrl}}\/external\/v1\/rooms\/:roomId\/calendar",
"variable": [
{
"id": "roomId",
"key": "roomId",
"value": "1",
"description": "The id of the room you want to get calendar for."
},
{
"id": "start",
"key": "start",
"value": "doloribus",
"description": "Start of dates to query.
If not provided<\/strong>: today.
Format<\/strong>: 2000-01-01"
},
{
"id": "end",
"key": "end",
"value": "vero",
"description": "End of dates to query.
If not provided<\/strong>: today.
Format<\/strong>: 2000-01-01"
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get array of all bookings for room"
},
"response": [
{
"header": [],
"code": 200,
"body": "{\n [\n {\n \"id\": 1,\n \"name\": \"Event Name\",\n \"start\": 2000-01-01 12:00:00,\n \"end\": 2000-01-01 15:00:00,\n }\n ]\n}",
"name": ""
}
]
}
]
},
{
"name": "Festival",
"description": "",
"item": [
{
"name": "GET Festival List",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "external\/v1\/festivals",
"query": [],
"raw": "{{baseUrl}}\/external\/v1\/festivals"
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Array of all festivals for your organization."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\nArray of all festivals for your organization.\n [\n {\n \"id\": 1,\n \"name\": \"Name of Your Festival\",\n \"start\": 2000-01-01 12:00:00,\n \"end\": 2000-01-01 15:00:00,\n }\n ]\n}",
"name": ""
}
]
},
{
"name": "GET Festival Performance List",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "external\/v1\/festivals\/:festivalId\/performances",
"query": [],
"raw": "{{baseUrl}}\/external\/v1\/festivals\/:festivalId\/performances",
"variable": [
{
"id": "festivalId",
"key": "festivalId",
"value": "1",
"description": "The id of the festival you want to get performances for."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\n [\n {\n \"id\": 1,\n \"name\": \"Performance Name\",\n \"type\": \"Performance Type\",\n \"fields\": [\n {\n \"id\": 1,\n \"value\": *,\n }\n for details on formatting: see performance field format\n ],\n \"events\": [\n {\n \"id\": 1,\n \"name\": \"Name of Event\",\n }\n ],\n }\n ]\n}",
"name": ""
}
]
},
{
"name": "GET Festival Performance Response Format & Definitions",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "external\/v1\/festivals\/:festivalId\/performances\/format",
"query": [],
"raw": "{{baseUrl}}\/external\/v1\/festivals\/:festivalId\/performances\/format",
"variable": [
{
"id": "festivalId",
"key": "festivalId",
"value": "1",
"description": "The id of the festival you want to get performances for."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get format of all performance fields that will be included when requesting performances"
},
"response": [
{
"header": [],
"code": 200,
"body": "{\n fields [\n {\n \"id\": 1,\n \"title\": \"Title of Your Field\",\n \"format\": String,\n }\n ]\n\nFormats of Fields:\n String\n Rich formatted Text\n Date (2000-01-01)\n Time (12:00:00)\n Document url\n Boolean\n}",
"name": ""
},
{
"header": [],
"code": 401,
"body": "",
"name": "Festival Not Found: either not existing, or not your festival."
}
]
},
{
"name": "GET Festival Event List",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "external\/v1\/festivals\/:festivalId\/events",
"query": [],
"raw": "{{baseUrl}}\/external\/v1\/festivals\/:festivalId\/events",
"variable": [
{
"id": "festivalId",
"key": "festivalId",
"value": "1",
"description": "The id of the festival you want to get events for."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": ""
},
"response": [
{
"header": [],
"code": 200,
"body": "{\n [\n {\n \"id\": 1,\n \"name\": \"Event Name\",\n \"start_date\": 2000-01-01,\n \"end_date\": 2000-01-01,\n \"production_period\": [\n \"start\": 2000-01-01 12:00:00,\n \"end\": 2000-01-01 15:00:00,\n ],\n \"fields\": [\n {\n \"id\": 1,\n \"show_time_id\": 1,\n \"value\": *,\n }\n for details on formatting: see event field format\n ],\n \"show_times\": [\n {\n \"id\": 1,\n \"title\": \"Show Title\",\n \"start\": 2000-01-01 12:00:00,\n \"end\": 2000-01-01 15:00:00,\n \"room_id\": 1,\n }\n ],\n \"festival_resources\": [\n {\n \"id\": 1,\n \"name\": \"Festival Resource\",\n }\n ],\n \"rooms\": [\n {\n \"id\": 1,\n \"title\": \"Show Title\",\n \"start\": 2000-01-01 12:00:00,\n \"end\": 2000-01-01 15:00:00,\n }\n ],\n \"performances\": [\n {\n \"id\": 1,\n \"name\": \"Performance Name\",\n }\n ],\n \"venue\": {\n \"id\": 1,\n \"name\": \"Venue Name\",\n \"address\": \"Venue Address\",\n \"city\": \"Venue City\",\n \"postal_code\": \"Postal Code\",\n \"country\": \"Country\",\n \"website\": \"Website\",\n \"phone\": \"Phone\",\n },\n }\n ]\n}",
"name": ""
}
]
},
{
"name": "GET Festival Event Response Format & Definitions",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "external\/v1\/festivals\/:festivalId\/events\/format",
"query": [],
"raw": "{{baseUrl}}\/external\/v1\/festivals\/:festivalId\/events\/format",
"variable": [
{
"id": "festivalId",
"key": "festivalId",
"value": "1",
"description": "The id of the festival you want to get events for."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Get format and info from fields that will be included when requesting events"
},
"response": [
{
"header": [],
"code": 200,
"body": "{\n fields [\n {\n \"id\": 1,\n \"title\": \"Title of Your Field\",\n \"format\": String,\n }\n ],\n festival_event_types [\n {\n \"id\": 1,\n \"name\": \"Concert\",\n }\n ]\n\nFormats of Fields:\n String\n Rich formatted Text\n Date (2000-01-01)\n Time (12:00:00)\n Document url\n Boolean\n}",
"name": ""
},
{
"header": [],
"code": 401,
"body": "",
"name": "Festival Not Found: either not existing, or not your festival."
}
]
}
]
}
],
"auth": {
"type": "bearer",
"bearer": [
{
"key": "key",
"type": "string"
}
]
}
}