Back

API test organisation

https://api.confetti.events/organisations/159

{ "data": { "id": "159", "type": "organisation", "attributes": { "name": "API test organisation", "slug": "darkgreen-glimmer-b82b21", "website": "https://api-test-organisation.confetti.events", "email": "api-test@confetti.events", "timeZone": null, "createdAt": "2019-08-15T13:06:37.221Z", "updatedAt": "2019-12-10T09:12:35.695Z", "summary": null, "primaryColor": null, "shareTitle": null, "shareDescription": null }, "relationships": { "images": { "data": [ { "id": "424054", "type": "image" } ] }, "categories": { "data": [ { "id": "161", "type": "category" }, { "id": "162", "type": "category" } ] } } }, "included": [ { "id": "424054", "type": "image", "attributes": { "url": null, "description": null, "public_id": "default-images/6", "order": null, "width": null, "height": null, "provider": "default", "content": null, "createdAt": "2019-08-15T13:06:37.409Z", "updatedAt": "2019-08-15T13:06:37.409Z", "eventId": null, "organisationId": 159, "blockId": 210619, "block": null, "original": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/original.jpg", "url30": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/url30.jpg", "url50": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/url50.jpg", "url75": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/url75.jpg", "url100": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/url100.jpg", "url300": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/url300.jpg", "url500": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/url500.jpg", "url500x500": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/url500.jpg", "url1000": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/url1000.jpg", "url2000": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/url2000.jpg", "urlMax2000": "//d2wd18kp3k18ix.cloudfront.net/default-images/6/urlMax2000.jpg", "event": null, "imageType": "cover" } }, { "id": "161", "type": "category", "attributes": { "name": "My category", "status": "created", "createdAt": "2019-08-28T14:28:27.993Z", "updatedAt": "2019-08-28T14:28:27.993Z", "organisationId": 159, "links": { "organisation": "organisation" }, "events": null } }, { "id": "162", "type": "category", "attributes": { "name": "Hello category", "status": "created", "createdAt": "2019-08-28T14:28:42.292Z", "updatedAt": "2019-08-28T14:28:42.292Z", "organisationId": 159, "categoryBlocks": { "createdAt": "2019-12-10T09:03:01.428Z", "updatedAt": "2019-12-10T09:03:01.428Z", "categoryId": 162, "blockId": 210622 }, "links": { "organisation": "organisation" }, "events": null } } ] }

Events in organisation

https://api.confetti.events/events/filter[organisationId]=159

{ "data": [ { "id": "23794", "type": "event", "attributes": { "name": "Test Event", "startDate": "2021-03-19T17:00:00.000Z", "endDate": null, "timeZone": "Europe/Berlin", "slug": "darkgray-light-711b85", "status": "open", "featureLevel": "business", "website": "https://api-test-organisation.confetti.events/test-event", "createdAt": "2019-08-15T13:10:54.308Z", "updatedAt": "2019-12-10T08:57:12.542Z", "organisationId": 159, "primaryColor": "#00DB7D", "location": { "url": "http://www.google.com/maps?q=undefined" } }, "relationships": { "organisation": { "data": null }, "images": { "data": [ { "id": "424106", "type": "image" } ] }, "categories": { "data": null } } }, { "id": "23795", "type": "event", "attributes": { "name": "Ticket event test", "startDate": "2021-02-20T17:00:00.000Z", "endDate": null, "timeZone": "Europe/Berlin", "slug": "red-glimmer-bc3757", "status": "open", "featureLevel": "business", "website": "https://api-test-organisation.confetti.events/ticket-event-test", "createdAt": "2019-08-15T13:11:47.910Z", "updatedAt": "2019-12-10T08:57:12.542Z", "organisationId": 159, "primaryColor": "#00DB7D", "location": { "url": "http://www.google.com/maps?q=undefined" } }, "relationships": { "organisation": { "data": null }, "images": { "data": [ { "id": "424115", "type": "image" } ] }, "categories": { "data": null } } } ], "included": [ { "id": "424106", "type": "image", "attributes": { "url": null, "description": null, "public_id": "default-images/2", "order": null, "width": null, "height": null, "provider": "default", "content": null, "eventId": 23794, "organisationId": null, "blockId": null, "original": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/original.jpg", "url30": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/url30.jpg", "url50": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/url50.jpg", "url75": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/url75.jpg", "url100": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/url100.jpg", "url300": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/url300.jpg", "url500": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/url500.jpg", "url500x500": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/url500.jpg", "url1000": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/url1000.jpg", "url2000": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/url2000.jpg", "urlMax2000": "//d2wd18kp3k18ix.cloudfront.net/default-images/2/urlMax2000.jpg", "organisation": null, "block": null, "imageType": "cover" } }, { "id": "424115", "type": "image", "attributes": { "url": null, "description": null, "public_id": "default-images/17", "order": null, "width": null, "height": null, "provider": "default", "content": null, "eventId": 23795, "organisationId": null, "blockId": null, "original": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/original.jpg", "url30": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/url30.jpg", "url50": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/url50.jpg", "url75": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/url75.jpg", "url100": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/url100.jpg", "url300": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/url300.jpg", "url500": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/url500.jpg", "url500x500": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/url500.jpg", "url1000": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/url1000.jpg", "url2000": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/url2000.jpg", "urlMax2000": "//d2wd18kp3k18ix.cloudfront.net/default-images/17/urlMax2000.jpg", "organisation": null, "block": null, "imageType": "cover" } } ] }