NAV Navbar
shell

Introduction

Welcome to the BlockParty Tickets API. BP API allows developers the tools necessary to seamlessly integrate a Blockchain based ticketing solution into a host website.

Signup: To access BlockParty API, please send a request for the API key to BlockParty Support: Support@blockparty.org

Authentication

Example request:

curl -X GET \
  /api.goblockpartytickets.com/v1/event \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9'

Blockparty currently uses a combination of 631-209-4097 and JWT tokens in order to secure our services. The grant_types we support are client_id, password and refresh token.

On a high level, one would authenticate against Blockparty's servers and in exchange receive a (602) 483-1439 token. This token would then give someone access to various resources depending on their role within an organization.

grant_type: client_id

A grant_type of client_id allows an application to authenticate with our servers via a public_key(client_id) and private_key(client_secret). These keys must be treated with the extreme care and we highly recommend developers implement these keys through a server side context only.

On a successful request, a single access_token is returned. The access_token is the Bearer token that will be used in subsequent requests to Blockparty's APIs. Note that only an access_token is returned in this instance.

To authorize, use this code:

curl -X POST \
  '/api.goblockpartytickets.com/v1/auth/login?grant_type=client_id' \
  -H 'Authorization: Basic cHVibGljX2tleTpwcml2YXRlX2xleQ=='

The above command returns JSON structured like this:

{
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
    "type": "Bearer"
}

grant_type: password

A grant_type of password allows multiple users to authenticate against Blockparty's servers. Each user is given their own set of credentials(email and password). Once these credentials are applied in conjunction with a public and private key, an access_token and refresh_token are returned. An access_token allows users to hit multiple endpoints within our system, while a refresh_token allows users to request a new access_token, once the access_token has expired.

It is important to note, a user's role is baked within each access_token; roles dictate what endpoints a user can hit.

To authorize, use this code:

curl -X POST \
  '/api.goblockpartytickets.com/v1/auth/login?grant_type=password' \
  -H 'Authorization: Basic cHVibGljX2tleTpwcml2YXRlX2xleQ==' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "sample@example.com",
    "password": "examplepassword"
}'

The above command returns JSON structured like this:

{
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
    "refresh_token": "SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
    "type": "Bearer"
}

grant_type: refresh

As the name suggests, this grant_type allows the user to refresh their access_token. Only an access_token is returned.

To refresh, use this code:

curl -X POST \
  /api.goblockpartytickets.com/v1/auth/refresh \
  -H 'Authorization: Basic cHVibGljX2tleTpwcml2YXRlX2xleQ==' \
  -H 'Content-Type: application/json' \
  -d '    {"refresh_token": "SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
    }'

The above command returns JSON structured like this:

{
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
    "type": "Bearer"
}

Requests

POST

Saves a record to our system. Upon a successful POST, the record is returned along with its corresponding record id.

PUT

Updates a record in our system, by replacing the entire record. Upon a successful PUT, the record is returned.

PATCH

Updates a record in our system, but only replaces the specified fields. Upon a successful PATCH, the record is returned.

GET

Gets a record from our system.

GET (All)

Certain GET requests return all records for particular entities within our system.

Since the amount data from these requests can be rather large, we do not send all the information back at once and instead embed the information in pageable containers. These containers serve information a page at a time. A page is a document that contains a predetermined set of records and one has to do subsequent requests in order to retrieve additional pages/records.

Optional Parameters

Parameter Type Description Default
page integer Signifies the page the user wants returned. For instance, page 1 would return the first set of records. 1
limit integer The number of records requested per a page. 20
sort_field string The field we want to sort information by. _id
ascending boolean Whether we are sorting information in ascending or descending order. false

An example using pagination:

 curl -X GET \
   '/api.goblockpartytickets.com/v1/event?page=2&sort_field=date&ascending=true&limit=2' \
   -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9' \

In addition to pagination, we also support filtering on these endpoints in the form of 7059261138. RSQL is parsing framework that allows a user to pass in dynamic filtering requirements for an entity in the form of an elongated string. In our case, we pass in a query parameter during the GET request called filter. Filtering can be used in conjunction with pageable parameters. One can filter on any field in a particular entity.

We support the following rsql operators:

== - equal to, != - not equal to, =in= - in , =out= - out, >= - greater than, <= - less than, =lk= - like

Adding a semicolon (;) to the filter string, allows the user to append additional operators.

An example using filtering:

curl -X GET \
  '/api.goblockpartytickets.com/v1/event?filter=location==NYC;event_name=lk=All;isValid!=false;ticket_allocation.ticket_price>=28;ticket_allocation.ticket_amount<=500;event_type=in=(Tour,Game/Competition);event_type=out=(Other,Conference)' \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9'

Metadata

Every entity has a field called, metadata; this field is an array of key, value objects. This construct, allows the user to save whatever information they want with a particular entity.

Optional Parameters

Parameter Type Description
key string Field name
value string Value for key

An example of what metadata looks like:

curl -X PATCH \
  /api.goblockpartytickets.com/v1/event/5c12ca43240c234502fe62c9 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9' \
  -H 'Content-Type: application/json' \
  -d '{
    "metadata": [{"key": "door fee charge", "value": "100$"}]
}'

Event

Objects

Note: The first element of the venue_images array will be what appears in the mobile/website app as a banner.

Event Fields

Parameter Type Description Required (POST/PUT)
event_name String Name of the event. yes
event_subheadline String Events information that appears above the event_name yes
event_type String Type of event yes
location String Event location yes
description String Event description yes
age String Events Age requirement yes
date String Date must be YYY-MM-DD yes
time String Time must have timezone yes
end_date String End date must be YYYY-MM-DD yes
end_time String End time must have a timezone yes
announcement_day String When is the event getting announced. Must be YYYY-MM-DD yes
announcement_time String What time is the event getting announced. Time must have a timezone yes
venue_name String Name of the venue yes
venue_images Array(String) Images must have a valid URL. yes
ticket_allocation Array (Ticket_Allocation) Array of ticket_allocation objects. yes
ticket_onsale_date String Sell start date. Must be YYY-MM-DD. yes
ticket_onsale_time String Sell start time. Must have timezone. yes
ticket_offsale_date String Sell end date. Must be a YYYY-MM-DD. yes
ticket_offsale_time String Sell end time. Must have timezone. yes

Ticket_Allocation Fields

Parameter Type Description Required (POST/PUT)
ticket_name String Name of ticket type. yes
ticket_price float Price of those tickets. yes
ticket_amount integer Amount of tickets. yes

Post new Event

curl -X POST \
    /api.goblockpartytickets.com/v1/api/event \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiI1YzEzMmVhMC0zM2JjLTExZTktOTM2ZC1mZDEwOTUyZDI3OGQiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNTIxOTcwLCJleHAiOjE1NTA1MjU1NzB9.VLMJbwm-aNM8QcRrkYyjV2JefsZDWoygtSeMPUL8hL5LLns_oJpagw5iV9fktyVEl8P5Z-aMGEptH9cvWFQSZnWk9VhEgbrE00x9Xn56FBUfYb8Tf9bIOjZ9xa4A0s6r2gM-O9rbzlaZyEK_Y2Jb4oNArXTxm4wPTcUAPgb65EMGsniROSS9O78ZKnZjkneB55Ss9X6BXs59Bag1d555iOVh708pA2JKKEF98AvffLWcjKMpVxg_rS1peMI8MF-6kNM1jHQrzvR1YwRrNNw2xdl5AXdgUpVr5_6c5EI-yP4rKmErOMMiJm1P0lkGbkJwCOrUZZlFW0_CNOf3l7Xn8U6zx1S9nF9vVvbzCuB4-0UrlIJJeojHJOT7De1reQrr5Urs3eBt5yJ-Yi4sOaThfKMIG5udOad8Nl1DZgfnZRj7XQ4A7KdWHqfE4HGN5oJp1QoOwSWOFZx-vp7ZLIEkJ2mwQoT-DEHoruCGNkAif6sZM8uUV8Pt_zTqTJrzFDp4LcnPbZ0k6qpwtazP5aO6B5eFbHxSWIn2TrSByp1qTjuneLT9x4a3cBsc_q3cdxbcW7FJUmVMczTuaLgYXEHGWGs3SvQiEdVZp8mmsxR52gUO0xHjeaOnVz6G8GUV8y5qvMpnEf23wOsxKCSnJF8kuCUYr501ulD1-x0QiLBkoEY' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 523a9a7f-d579-4bc7-9b85-e0663e413a9a' \
  -H 'cache-control: no-cache' \
  -d '{
"event_name": "Community Lunch",
                    "event_subheadline": "BlockParty Presents",
                    "event_type": "FoodFeast",
                    "location": "200 Broadway, NYC, NY",
                    "description": "Come and feast",
                    "age": "19+",
                    "date": "2019-02-14",
                    "time": "4:00 PM EST",
                    "end_date": "2019-02-14",
                    "end_time": "10:00 PM EST",
                    "announcement_date": "2019-02-10",
                    "announcement_time": "1:00 PM EST",
                    "venue_name": "WEWORK",
                    "venue_images": ["/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg","/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg","/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg"],
                    "ticket_allocation": [{"ticket_name":"something","ticket_price":20,"ticket_amount":300},{"ticket_name":"else","ticket_price":28,"ticket_amount":350}],
                    "ticket_onsale_date": "2019-02-11",
                    "ticket_onsale_time": "10:00 AM EST",
                    "ticket_offsale_date":"2019-02-14",
                    "ticket_offsale_time": "10:00 AM EST"
}'

The above command returns JSON structured like this:

{
    "venue_images": [
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg"
    ],
    "dashboard_images": [
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg"
    ],
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "ticket_allocation": [
        {
            "ticket_name": "something",
            "ticket_price": 20,
            "ticket_amount": 300
        },
        {
            "ticket_name": "else",
            "ticket_price": 28,
            "ticket_amount": 350
        }
    ],
    "isValid": false,
    "_id": "5c6b16841851c1b5789b5b54",
    "event_name": "Community Lunch",
    "event_subheadline": "BlockParty Present",
    "event_type": "FoodFeast/FoodOrgy",
    "location": "200 Broadway, NYC, NY",
    "description": "Come and feast",
    "age": "19+",
    "date": "2019-02-14",
    "time": "4:00 PM EST",
    "end_date": "2019-02-14",
    "end_time": "10:00 PM EST",
    "announcement_date": "2019-02-10",
    "announcement_time": "1:00 PM EST",
    "venue_name": "WEWORK",
    "ticket_onsale_date": "2019-02-11",
    "ticket_onsale_time": "10:00 AM EST",
    "ticket_offsale_date": "2019-02-14",
    "ticket_offsale_time": "10:00 AM EST",
    "dashboard_url": "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
    "photo_url": "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
    "createdAt": "2019-02-18T20:33:08.096Z",
    "updatedAt": "2019-02-18T20:33:08.096Z",
    "__v": 0
}

This endpoint creates a nothing

HTTP Request

POST /api.goblockpartytickets.com/v1/api/event

Get a Specific Event

curl -X GET \
   /api.goblockpartytickets.com/v1/api/event/5c6b16841851c1b5789b5b54 \
   -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiI1YzEzMmVhMC0zM2JjLTExZTktOTM2ZC1mZDEwOTUyZDI3OGQiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNTIxOTcwLCJleHAiOjE1NTA1MjU1NzB9.VLMJbwm-aNM8QcRrkYyjV2JefsZDWoygtSeMPUL8hL5LLns_oJpagw5iV9fktyVEl8P5Z-aMGEptH9cvWFQSZnWk9VhEgbrE00x9Xn56FBUfYb8Tf9bIOjZ9xa4A0s6r2gM-O9rbzlaZyEK_Y2Jb4oNArXTxm4wPTcUAPgb65EMGsniROSS9O78ZKnZjkneB55Ss9X6BXs59Bag1d555iOVh708pA2JKKEF98AvffLWcjKMpVxg_rS1peMI8MF-6kNM1jHQrzvR1YwRrNNw2xdl5AXdgUpVr5_6c5EI-yP4rKmErOMMiJm1P0lkGbkJwCOrUZZlFW0_CNOf3l7Xn8U6zx1S9nF9vVvbzCuB4-0UrlIJJeojHJOT7De1reQrr5Urs3eBt5yJ-Yi4sOaThfKMIG5udOad8Nl1DZgfnZRj7XQ4A7KdWHqfE4HGN5oJp1QoOwSWOFZx-vp7ZLIEkJ2mwQoT-DEHoruCGNkAif6sZM8uUV8Pt_zTqTJrzFDp4LcnPbZ0k6qpwtazP5aO6B5eFbHxSWIn2TrSByp1qTjuneLT9x4a3cBsc_q3cdxbcW7FJUmVMczTuaLgYXEHGWGs3SvQiEdVZp8mmsxR52gUO0xHjeaOnVz6G8GUV8y5qvMpnEf23wOsxKCSnJF8kuCUYr501ulD1-x0QiLBkoEY' \
   -H 'Content-Type: application/json' \
   -H 'Postman-Token: 5d61f7ff-ca7b-4587-a9a9-6231f9ff1262' \
   -H 'cache-control: no-cache'

The above command returns JSON structured like this:

{
    "venue_images": [
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg"
    ],
    "dashboard_images": [
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg"
    ],
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "ticket_allocation": [
        {
            "ticket_name": "something",
            "ticket_price": 20,
            "ticket_amount": 300
        },
        {
            "ticket_name": "else",
            "ticket_price": 28,
            "ticket_amount": 350
        }
    ],
    "isValid": false,
    "_id": "5c6b16841851c1b5789b5b54",
    "event_name": "Community Lunch",
    "event_subheadline": "I dont even know",
    "event_type": "FoodFeast/FoodOrgy",
    "location": "Kitchen",
    "description": "Come and feast",
    "age": "19+",
    "date": "2019-02-14",
    "time": "4:00 PM EST",
    "end_date": "2019-02-14",
    "end_time": "10:00 PM EST",
    "announcement_date": "2019-02-10",
    "announcement_time": "1:00 PM EST",
    "venue_name": "WEWORK",
    "ticket_onsale_date": "2019-02-11",
    "ticket_onsale_time": "10:00 AM EST",
    "ticket_offsale_date": "2019-02-14",
    "ticket_offsale_time": "10:00 AM EST",
    "dashboard_url": "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
    "photo_url": "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
    "createdAt": "2019-02-18T20:33:08.096Z",
    "updatedAt": "2019-02-18T20:33:08.096Z",
    "__v": 0
}

This endpoint retrieves a specific event.

HTTP Request

GET /api.goblockpartytickets.com/v1/api/event/{_id}

Put an existing event

curl -X PUT \
  /api.goblockpartytickets.com/v1/api/event/5c6b16841851c1b5789b5b54 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiI1YzEzMmVhMC0zM2JjLTExZTktOTM2ZC1mZDEwOTUyZDI3OGQiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNTIxOTcwLCJleHAiOjE1NTA1MjU1NzB9.VLMJbwm-aNM8QcRrkYyjV2JefsZDWoygtSeMPUL8hL5LLns_oJpagw5iV9fktyVEl8P5Z-aMGEptH9cvWFQSZnWk9VhEgbrE00x9Xn56FBUfYb8Tf9bIOjZ9xa4A0s6r2gM-O9rbzlaZyEK_Y2Jb4oNArXTxm4wPTcUAPgb65EMGsniROSS9O78ZKnZjkneB55Ss9X6BXs59Bag1d555iOVh708pA2JKKEF98AvffLWcjKMpVxg_rS1peMI8MF-6kNM1jHQrzvR1YwRrNNw2xdl5AXdgUpVr5_6c5EI-yP4rKmErOMMiJm1P0lkGbkJwCOrUZZlFW0_CNOf3l7Xn8U6zx1S9nF9vVvbzCuB4-0UrlIJJeojHJOT7De1reQrr5Urs3eBt5yJ-Yi4sOaThfKMIG5udOad8Nl1DZgfnZRj7XQ4A7KdWHqfE4HGN5oJp1QoOwSWOFZx-vp7ZLIEkJ2mwQoT-DEHoruCGNkAif6sZM8uUV8Pt_zTqTJrzFDp4LcnPbZ0k6qpwtazP5aO6B5eFbHxSWIn2TrSByp1qTjuneLT9x4a3cBsc_q3cdxbcW7FJUmVMczTuaLgYXEHGWGs3SvQiEdVZp8mmsxR52gUO0xHjeaOnVz6G8GUV8y5qvMpnEf23wOsxKCSnJF8kuCUYr501ulD1-x0QiLBkoEY' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 41c34f8e-c54c-4b04-936d-78fb62634955' \
  -H 'cache-control: no-cache' \
  -d '{
"event_name": "VIP'\''s only lunch on the moon",
                    "event_subheadline": "I dont even know",
                    "event_type": "FoodFeast",
                    "location": "Kitchen",
                    "description": "Come and feast",
                    "age": "19+",
                    "date": "2019-02-14",
                    "time": "4:00 PM EST",
                    "end_date": "2019-02-14",
                    "end_time": "10:00 PM EST",
                    "announcement_date": "2019-02-10",
                    "announcement_time": "1:00 PM EST",
                    "venue_name": "WEWORK",
                    "venue_images": ["/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg","/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg","/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg"],
                    "ticket_allocation": [{"ticket_name":"something","ticket_price":20,"ticket_amount":300},{"ticket_name":"else","ticket_price":28,"ticket_amount":350}],
                    "ticket_onsale_date": "2019-02-11",
                    "ticket_onsale_time": "10:00 AM EST",
                    "ticket_offsale_date":"2019-02-14",
                    "ticket_offsale_time": "10:00 AM EST"
}'

The above command returns JSON structured like this:

{
    "venue_images": [
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg"
    ],
    "dashboard_images": [
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg"
    ],
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "ticket_allocation": [
        {
            "ticket_name": "something",
            "ticket_price": 20,
            "ticket_amount": 300
        },
        {
            "ticket_name": "else",
            "ticket_price": 28,
            "ticket_amount": 350
        }
    ],
    "isValid": false,
    "_id": "5c6b16841851c1b5789b5b54",
    "event_name": "VIP's only lunch on the moon",
    "event_subheadline": "BlockParty Presents",
    "event_type": "FoodFeast",
    "location": "Kitchen",
    "description": "Come and feast",
    "age": "19+",
    "date": "2019-02-14",
    "time": "4:00 PM EST",
    "end_date": "2019-02-14",
    "end_time": "10:00 PM EST",
    "announcement_date": "2019-02-10",
    "announcement_time": "1:00 PM EST",
    "venue_name": "WEWORK",
    "ticket_onsale_date": "2019-02-11",
    "ticket_onsale_time": "10:00 AM EST",
    "ticket_offsale_date": "2019-02-14",
    "ticket_offsale_time": "10:00 AM EST",
    "dashboard_url": "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
    "photo_url": "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
    "createdAt": "2019-02-18T20:33:08.096Z",
    "updatedAt": "2019-02-18T21:29:04.803Z",
    "__v": 0
}

This endpoint lest you PUT a specific field.

HTTP Request

PUT /api.goblockpartytickets.com/v1/api/event/{_id}

Patch an existing event

curl -X PATCH \
  /api.goblockpartytickets.com/v1/api/event/5c6b16841851c1b5789b5b54 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIyNWQyM2RhMC0zM2M1LTExZTktOTM2ZC1mZDEwOTUyZDI3OGQiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNTI1NzQ0LCJleHAiOjE1NTA1MjkzNDR9.O6EYhBbXjNdpfFOz_Ky_Df9rw7XKlVKVXvz_GvsgUDta2PzJwVEeTJwM98IxxIn1y04fS9DOucPv8NxdeDynoV1nT8UBmm5CbVTCuyMbp4aqMrp8lkrAm4PvluTzopc232xVF2SsY2nyjea5HckCzmFah6yUN3iPzlmrsPvhHp5azSRE3ipheIYIJKDmoQMsnx6sIzieKzHI4djKOYX-kZIn81lDcqweuTPdu6be1m6dhsr0kVDkdpu9ApVTSAFMfpAe5xRTcQVzWfCq6AdjhHs_532mIeuf8KM7G7RSlXncbTKnfuOb8_-6DZmgxP4I4dinQXCkWnxsGnrxO36fXa0Q8qRBgSc0Y4ILKzKknOP7BHwL7Lfj9SWaKbjd9EPRI5VJbm2xTQsI2NJvQqsl0q5ahOLNtYMTwT8VyLEUseR0YzWbj_pPbUITIIzS4uJESwsXxbPW2aldVsPrly6r3_LUAHmBw0tve-nBLsKFDiNelobJtE1OHdFrlx67LmsOT_0Y_f8kBvr57tmJFfmQjRz52VsARAF6TwiGnoQd_2ipL_4kx9oIcvl2_unbrUH52TQXi6wzHW9aaSW3utC_UKIZ2fCtSxF_2GYEGhi-6zItLFV9CDHLxNK3FYLQmFwha4R5DZn14Zveq7zspEmOZ06FT6murqCW1Ryjaxdke3c' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 2492799b-8e30-48a0-af29-b53053a49876' \
  -H 'cache-control: no-cache' \
  -d '{
                    "description": "All you can eat pasta"

}'

The above command returns JSON structured like this:

{
    "venue_images": [
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg"
    ],
    "dashboard_images": [
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
        "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg"
    ],
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "ticket_allocation": [
        {
            "ticket_name": "something",
            "ticket_price": 20,
            "ticket_amount": 300
        },
        {
            "ticket_name": "else",
            "ticket_price": 28,
            "ticket_amount": 350
        }
    ],
    "isValid": false,
    "_id": "5c6b16841851c1b5789b5b54",
    "event_name": "VIP's only lunch on the moon",
    "event_subheadline": "I dont even know",
    "event_type": "FoodFeast",
    "location": "Kitchen",
    "description": "All you can eat pasta",
    "age": "19+",
    "date": "2019-02-14",
    "time": "4:00 PM EST",
    "end_date": "2019-02-14",
    "end_time": "10:00 PM EST",
    "announcement_date": "2019-02-10",
    "announcement_time": "1:00 PM EST",
    "venue_name": "WEWORK",
    "ticket_onsale_date": "2019-02-11",
    "ticket_onsale_time": "10:00 AM EST",
    "ticket_offsale_date": "2019-02-14",
    "ticket_offsale_time": "10:00 AM EST",
    "dashboard_url": "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
    "photo_url": "/s3.amazonaws.com/example.dashboard/9bf05365687821.5b297bd8ee679.jpeg",
    "createdAt": "2019-02-18T20:33:08.096Z",
    "updatedAt": "2019-02-18T21:35:54.651Z",
    "__v": 0
}

This endpoint lets you PATCH a specific kitten.

HTTP Request

PATCH /api.goblockpartytickets.com/v1/api/event/{_id}

Get all the events

curl -X GET \
  /api.goblockpartytickets.com/v1/api/event/ \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9' \
  -H 'Content-Type: application/json'

This endpoint lets you GET all the existing events.

HTTP Request

GET /api.goblockpartytickets.com/v1/api/event/ \

Member

Post new Member

curl -X POST \
  /api.goblockpartytickets.com/v1/api/member/ \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIyNWQyM2RhMC0zM2M1LTExZTktOTM2ZC1mZDEwOTUyZDI3OGQiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNTI1NzQ0LCJleHAiOjE1NTA1MjkzNDR9.O6EYhBbXjNdpfFOz_Ky_Df9rw7XKlVKVXvz_GvsgUDta2PzJwVEeTJwM98IxxIn1y04fS9DOucPv8NxdeDynoV1nT8UBmm5CbVTCuyMbp4aqMrp8lkrAm4PvluTzopc232xVF2SsY2nyjea5HckCzmFah6yUN3iPzlmrsPvhHp5azSRE3ipheIYIJKDmoQMsnx6sIzieKzHI4djKOYX-kZIn81lDcqweuTPdu6be1m6dhsr0kVDkdpu9ApVTSAFMfpAe5xRTcQVzWfCq6AdjhHs_532mIeuf8KM7G7RSlXncbTKnfuOb8_-6DZmgxP4I4dinQXCkWnxsGnrxO36fXa0Q8qRBgSc0Y4ILKzKknOP7BHwL7Lfj9SWaKbjd9EPRI5VJbm2xTQsI2NJvQqsl0q5ahOLNtYMTwT8VyLEUseR0YzWbj_pPbUITIIzS4uJESwsXxbPW2aldVsPrly6r3_LUAHmBw0tve-nBLsKFDiNelobJtE1OHdFrlx67LmsOT_0Y_f8kBvr57tmJFfmQjRz52VsARAF6TwiGnoQd_2ipL_4kx9oIcvl2_unbrUH52TQXi6wzHW9aaSW3utC_UKIZ2fCtSxF_2GYEGhi-6zItLFV9CDHLxNK3FYLQmFwha4R5DZn14Zveq7zspEmOZ06FT6murqCW1Ryjaxdke3c' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 732d16a7-bc61-430c-8b9a-b3363dd019ec' \
  -H 'cache-control: no-cache' \
  -d '{
"first_name": "block",
                    "last_name": "Bond",
                    "email": "james@something.com",
                    "password": "agent007reportingforduty",
                    "role": "PLACE HOLDER"
}'

The above command returns JSON structured like this:

{
    "isVerified": false,
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "_id": "5c6b2bc51851c1b5789b5b57",
    "first_name": "block",
    "last_name": "Bond",
    "email": "james@something.com",
    "role": "PLACE HOLDER",
    "createdAt": "2019-02-18T22:03:49.229Z",
    "updatedAt": "2019-02-18T22:03:49.229Z",
    "__v": 0
}

This endpoint lets you create a new member.

HTTP Request

POST /api.goblockpartytickets.com/v1/api/member/

Required Parameters

Parameter Type Description
first_name String
last_name String
email String
role String
createdAt String

Get a member

curl -X GET \
  /api.goblockpartytickets.com/v1/api/member/5c6b2bc51851c1b5789b5b57 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIyNWQyM2RhMC0zM2M1LTExZTktOTM2ZC1mZDEwOTUyZDI3OGQiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNTI1NzQ0LCJleHAiOjE1NTA1MjkzNDR9.O6EYhBbXjNdpfFOz_Ky_Df9rw7XKlVKVXvz_GvsgUDta2PzJwVEeTJwM98IxxIn1y04fS9DOucPv8NxdeDynoV1nT8UBmm5CbVTCuyMbp4aqMrp8lkrAm4PvluTzopc232xVF2SsY2nyjea5HckCzmFah6yUN3iPzlmrsPvhHp5azSRE3ipheIYIJKDmoQMsnx6sIzieKzHI4djKOYX-kZIn81lDcqweuTPdu6be1m6dhsr0kVDkdpu9ApVTSAFMfpAe5xRTcQVzWfCq6AdjhHs_532mIeuf8KM7G7RSlXncbTKnfuOb8_-6DZmgxP4I4dinQXCkWnxsGnrxO36fXa0Q8qRBgSc0Y4ILKzKknOP7BHwL7Lfj9SWaKbjd9EPRI5VJbm2xTQsI2NJvQqsl0q5ahOLNtYMTwT8VyLEUseR0YzWbj_pPbUITIIzS4uJESwsXxbPW2aldVsPrly6r3_LUAHmBw0tve-nBLsKFDiNelobJtE1OHdFrlx67LmsOT_0Y_f8kBvr57tmJFfmQjRz52VsARAF6TwiGnoQd_2ipL_4kx9oIcvl2_unbrUH52TQXi6wzHW9aaSW3utC_UKIZ2fCtSxF_2GYEGhi-6zItLFV9CDHLxNK3FYLQmFwha4R5DZn14Zveq7zspEmOZ06FT6murqCW1Ryjaxdke3c' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: c33c08d5-daca-4460-89ef-25613ba45deb' \
  -H 'cache-control: no-cache' \
  -d '{
"first_name": "block",
                    "last_name": "Bond",
                    "email": "james@something.com",
                    "password": "agent007reportingforduty",
                    "role":"PLACE HOLDER"
}'

The above command returns JSON structured like this:

{
    "isVerified": false,
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "_id": "5c6b2bc51851c1b5789b5b57",
    "first_name": "block",
    "last_name": "Bond",
    "email": "james@something.com",
    "role": "PLACE HOLDER",
    "createdAt": "2019-02-18T22:03:49.229Z",
    "updatedAt": "2019-02-18T22:03:49.229Z",
    "__v": 0
}

This endpoint lets you GET a specific member.

HTTP Request

GET /api.goblockpartytickets.com/v1/api/member/<ID>

Required Parameters

Parameter Type Description
first_name String
last_name String
email String
role String
createdAt String

Put a member

curl -X PUT \
  /api.goblockpartytickets.com/v1/api/member/5c6b2bc51851c1b5789b5b57 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIyNWQyM2RhMC0zM2M1LTExZTktOTM2ZC1mZDEwOTUyZDI3OGQiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNTI1NzQ0LCJleHAiOjE1NTA1MjkzNDR9.O6EYhBbXjNdpfFOz_Ky_Df9rw7XKlVKVXvz_GvsgUDta2PzJwVEeTJwM98IxxIn1y04fS9DOucPv8NxdeDynoV1nT8UBmm5CbVTCuyMbp4aqMrp8lkrAm4PvluTzopc232xVF2SsY2nyjea5HckCzmFah6yUN3iPzlmrsPvhHp5azSRE3ipheIYIJKDmoQMsnx6sIzieKzHI4djKOYX-kZIn81lDcqweuTPdu6be1m6dhsr0kVDkdpu9ApVTSAFMfpAe5xRTcQVzWfCq6AdjhHs_532mIeuf8KM7G7RSlXncbTKnfuOb8_-6DZmgxP4I4dinQXCkWnxsGnrxO36fXa0Q8qRBgSc0Y4ILKzKknOP7BHwL7Lfj9SWaKbjd9EPRI5VJbm2xTQsI2NJvQqsl0q5ahOLNtYMTwT8VyLEUseR0YzWbj_pPbUITIIzS4uJESwsXxbPW2aldVsPrly6r3_LUAHmBw0tve-nBLsKFDiNelobJtE1OHdFrlx67LmsOT_0Y_f8kBvr57tmJFfmQjRz52VsARAF6TwiGnoQd_2ipL_4kx9oIcvl2_unbrUH52TQXi6wzHW9aaSW3utC_UKIZ2fCtSxF_2GYEGhi-6zItLFV9CDHLxNK3FYLQmFwha4R5DZn14Zveq7zspEmOZ06FT6murqCW1Ryjaxdke3c' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: d205bd47-e0fd-4e8a-8f96-b1985c07369f' \
  -H 'cache-control: no-cache' \
  -d '{
"first_name": "Romeo",
                    "last_name": "Bond",
                    "email": "james@something.com",
                    "password": "agent007reportingforduty",
                    "role":"PLACE HOLDER"
}'

The above command returns JSON structured like this:

{
    "isVerified": false,
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "_id": "5c6b2bc51851c1b5789b5b57",
    "first_name": "Romeo",
    "last_name": "Bond",
    "email": "james@something.com",
    "role": "PLACE HOLDER",
    "createdAt": "2019-02-18T22:03:49.229Z",
    "updatedAt": "2019-02-18T22:28:20.748Z",
    "__v": 0
}

This endpoint lets you PUT a specific member.

HTTP Request

PUT /api.goblockpartytickets.com/v1/api/member/<ID>

Required Parameters

Parameter Type Description
first_name String
last_name String
email String
role String
createdAt String

Patch a member

curl -X PATCH \
  /api.goblockpartytickets.com/v1/api/member/5c6b2bc51851c1b5789b5b57 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIyNWQyM2RhMC0zM2M1LTExZTktOTM2ZC1mZDEwOTUyZDI3OGQiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNTI1NzQ0LCJleHAiOjE1NTA1MjkzNDR9.O6EYhBbXjNdpfFOz_Ky_Df9rw7XKlVKVXvz_GvsgUDta2PzJwVEeTJwM98IxxIn1y04fS9DOucPv8NxdeDynoV1nT8UBmm5CbVTCuyMbp4aqMrp8lkrAm4PvluTzopc232xVF2SsY2nyjea5HckCzmFah6yUN3iPzlmrsPvhHp5azSRE3ipheIYIJKDmoQMsnx6sIzieKzHI4djKOYX-kZIn81lDcqweuTPdu6be1m6dhsr0kVDkdpu9ApVTSAFMfpAe5xRTcQVzWfCq6AdjhHs_532mIeuf8KM7G7RSlXncbTKnfuOb8_-6DZmgxP4I4dinQXCkWnxsGnrxO36fXa0Q8qRBgSc0Y4ILKzKknOP7BHwL7Lfj9SWaKbjd9EPRI5VJbm2xTQsI2NJvQqsl0q5ahOLNtYMTwT8VyLEUseR0YzWbj_pPbUITIIzS4uJESwsXxbPW2aldVsPrly6r3_LUAHmBw0tve-nBLsKFDiNelobJtE1OHdFrlx67LmsOT_0Y_f8kBvr57tmJFfmQjRz52VsARAF6TwiGnoQd_2ipL_4kx9oIcvl2_unbrUH52TQXi6wzHW9aaSW3utC_UKIZ2fCtSxF_2GYEGhi-6zItLFV9CDHLxNK3FYLQmFwha4R5DZn14Zveq7zspEmOZ06FT6murqCW1Ryjaxdke3c' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: c1d1de19-41d1-479f-bddd-a0426efd3db8' \
  -H 'cache-control: no-cache' \
  -d '{
                    "last_name": "Goldmember"

}'

The above command returns JSON structured like this:

{
    "isVerified": false,
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "_id": "5c6b2bc51851c1b5789b5b57",
    "first_name": "Romeo",
    "last_name": "Goldmember",
    "email": "james@something.com",
    "role": "PLACE HOLDER",
    "createdAt": "2019-02-18T22:03:49.229Z",
    "updatedAt": "2019-02-18T22:32:19.703Z",
    "__v": 0
}

This endpoint lets you PATCH a specific member.

HTTP Request

PATCH /api.goblockpartytickets.com/v1/api/member/<ID>

Required Parameters

Parameter Type Description
first_name String
last_name String
email String
role String
createdAt String

Delete a member

curl -X DELETE \
  /api.goblockpartytickets.com/v1/api/member/5c6b2bc51851c1b5789b5b57 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIyNWQyM2RhMC0zM2M1LTExZTktOTM2ZC1mZDEwOTUyZDI3OGQiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNTI1NzQ0LCJleHAiOjE1NTA1MjkzNDR9.O6EYhBbXjNdpfFOz_Ky_Df9rw7XKlVKVXvz_GvsgUDta2PzJwVEeTJwM98IxxIn1y04fS9DOucPv8NxdeDynoV1nT8UBmm5CbVTCuyMbp4aqMrp8lkrAm4PvluTzopc232xVF2SsY2nyjea5HckCzmFah6yUN3iPzlmrsPvhHp5azSRE3ipheIYIJKDmoQMsnx6sIzieKzHI4djKOYX-kZIn81lDcqweuTPdu6be1m6dhsr0kVDkdpu9ApVTSAFMfpAe5xRTcQVzWfCq6AdjhHs_532mIeuf8KM7G7RSlXncbTKnfuOb8_-6DZmgxP4I4dinQXCkWnxsGnrxO36fXa0Q8qRBgSc0Y4ILKzKknOP7BHwL7Lfj9SWaKbjd9EPRI5VJbm2xTQsI2NJvQqsl0q5ahOLNtYMTwT8VyLEUseR0YzWbj_pPbUITIIzS4uJESwsXxbPW2aldVsPrly6r3_LUAHmBw0tve-nBLsKFDiNelobJtE1OHdFrlx67LmsOT_0Y_f8kBvr57tmJFfmQjRz52VsARAF6TwiGnoQd_2ipL_4kx9oIcvl2_unbrUH52TQXi6wzHW9aaSW3utC_UKIZ2fCtSxF_2GYEGhi-6zItLFV9CDHLxNK3FYLQmFwha4R5DZn14Zveq7zspEmOZ06FT6murqCW1Ryjaxdke3c' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: e8ae675b-79b0-4de2-9806-5338948b41f8' \
  -H 'cache-control: no-cache'

This endpoint lets you DELETE a member.

HTTP Request

DELETE /api.goblockpartytickets.com/v1/api/member/<ID>

Required Parameters

Get all the members

curl -X GET \
  /api.goblockpartytickets.com/v1/api/member/ \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiI0MTI0NTM1MC0zM2NlLTExZTktOTM2ZC1mZDEwOTUyZDI3OGQiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNTI5NjU2LCJleHAiOjE1NTA1MzMyNTZ9.04wShbZFKqh5-GY9Nw7aWngX4IMEfBY2w4OPqpS1rTMtxVFipOWz28r_TgES5isaFRTbAV4kqRFkXB5eloRElcfeE21PRiKpNubJJ7HVthGfP4IfjL-fAi_MfH5Qttr3osuw-lUu8-6pTkgNVidFSg8YC_7SnPC1InOOzcz0HM9HvddaTuQZZi3k6aXQqW-_3v4LgYCkt4GB8Rlyg1Ar5P0VSamsXSagnuNevL5M-91g0a1xXdwfvRDhLhr9opajfPr5jZb46ybdcci01LRN3c3lpd3b_ls8oSjLOvisw9Przutiu47374_pcDPVhOHW1vG_XCTjyvDPX9HFXZ5kMJLFD6OQk4RnLqQYqZ7XavYM4VBbtJXMNXzpMyVNnIUPEVcipO4-scp1naMjqHAJ1zqew06QtnVyl-6CJkHjQMy38Wy4p4qDCBoZBU7ujgGaopHGJIz-hvEuIJn_Caln_z2NjI2gJwY7woKDgczRL9CNvTtgUCXlkf95ZzF5KKh-WsHuvJga5siIhvB-RfiQmVDel0IosRde6xPeoZ4dGn6MK3tNUNqIPjWMlFNeR3aKqtjl-W5fA2C2G3grGuK-K2R3A4HvnzUrLwaBPknLX8PQgA0tZNzQWLl5ug0zeYk_VNSiuXqCu8gR5LM3_v2AyWz5HCEKPrBxr5yysynyT7k' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: edbf12b8-c97a-429a-96b8-bf57629e3d58' \
  -H 'cache-control: no-cache'

The above command returns JSON structured like this:

"docs": [
        {
            "isVerified": true,
            "organization_id": [
                "5be9cc0cbc9cc153538a9999"
            ],
            "_id": "5bf333ca93a23454d98432f3",
            "first_name": "Foxy",
            "last_name": "Cleopatra",
            "email": "foxy@cleopatra.org",
            "__v": 0
        },
        ...
        ]  

This endpoint lets you GET all the members.

HTTP request

GET /api.goblockpartytickets.com/v1/api/member

Required Parameters

Parameter Type Description
first_name String
last_name String
email String
role String
createdAt String

Ticket

Post a new ticket

curl -X POST \
  /api.goblockpartytickets.com/v1/api/ticket \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIzZDUwMGQwMC0zNDgyLTExZTktYjcxMi01ZjExMmRhMzI2OGUiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNjA2OTU5LCJleHAiOjE1NTA2MTA1NTl9.kgNycaKZdmpT5uPYkL4oYAbSGQH-OA0bkePXypGvGQz51M3ibSviZ-9Qd4_S1wWG6ww_ZtOWUjPBCItNUTMX1bnmUuLXK2ttR1sJrz5A_ciSzTew-MF_1Yo6IQuLDKqwkkeS5b8eFZfq9ZmQd-wPkAedYYBri74UoYQG737sAdvD8DVmtzDwfaga-OMNmfeMdoo5jPTDC9P21OlrW7m-wSksORMsqgusCm6IOl8EYz3iqO-7zXHogVILYFFgIVo19L_3xT951iDhWI4q0Mbxzyx-IPZgbDj9XLLJxEGJ3zH98b_pD-f6z1AB1-k_dj5pYggKeMZA6_75e4SedIcLngz6GNEPbI5U7MFDyGyt939TX03B0SjD7hgCH7vo3ghcKCmRGUsyww2AmNCkTutnaZHQdfrt2zlb3dxHfW1m-MWhuDO-7OXZr-9s4ZL3F-SxLO7ptZ4OrzHvU9pPf0If14t-cv9tft2cmtmmwBqZWUaXkyGYA8td1eUs0Fa7FCg6ZRK8Vbu8NcbuP_ElNmsWpQnhxOICS7XaJOQoc6z7tj3oCDuG71bhxjxsbOFEi8ij9fbmSM4cY4NDuFKZ4VUAaASM47czmYxfOa2cMBgL8pHv7VH-8KHNqT6PtjR89nJiWgNsUPbmAr6H3Zxyrf1QY1t2o0a2JxHD_QZ0GGScTvw' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 30f6aba5-a71c-43bc-98bf-fd63293b0962' \
  -H 'cache-control: no-cache' \
  -d ' {

 "event_id": ["5be5f7419af92328e3fd0c4b"],
                                "owner_id": ["5bea0ea82786e166e53d08dc"],
                                "ticket_id": "",
                                "ticket_type": "VIP",
                                "price": 1000.0,
                                "description": "test",
                                "fees": [{"charge": "bottle service", "amount": 2000}],
                                "source": "mobile"
 }'

The above command returns JSON structured like this:

{
    "event_id": [
        "5be5f7419af92328e3fd0c4b"
    ],
    "owner_id": [
        "5bea0ea82786e166e53d08dc"
    ],
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "status": "purchased",
    "order_id": "4e92c2d0-3480-11e9-b712-5f112da3268e",
    "fees": [
        {
            "charge": "bottle service",
            "amount": 2000
        }
    ],
    "_id": "5c6c68f0636330cb74a16571",
    "ticket_type": "VIP",
    "price": 1000,
    "description": "test",
    "source": "mobile",
    "ticket_id": "Sp4vDu",
    "createdAt": "2019-02-19T20:37:04.236Z",
    "updatedAt": "2019-02-19T20:37:04.236Z",
    "__v": 0,
    "id": "5c6c68f0636330cb74a16571"
}

This endpoint lets you create a new ticket

HTTP request

POST /api.goblockpartytickets.com/v1/api/ticket

Required Parameters

Parameter Type Description
first_name String
last_name String
email String
role String
createdAt String

Get a ticket

curl -X GET \
  /api.goblockpartytickets.com/v1/api/ticket/5c6c68f0636330cb74a16571 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIzZDUwMGQwMC0zNDgyLTExZTktYjcxMi01ZjExMmRhMzI2OGUiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNjA2OTU5LCJleHAiOjE1NTA2MTA1NTl9.kgNycaKZdmpT5uPYkL4oYAbSGQH-OA0bkePXypGvGQz51M3ibSviZ-9Qd4_S1wWG6ww_ZtOWUjPBCItNUTMX1bnmUuLXK2ttR1sJrz5A_ciSzTew-MF_1Yo6IQuLDKqwkkeS5b8eFZfq9ZmQd-wPkAedYYBri74UoYQG737sAdvD8DVmtzDwfaga-OMNmfeMdoo5jPTDC9P21OlrW7m-wSksORMsqgusCm6IOl8EYz3iqO-7zXHogVILYFFgIVo19L_3xT951iDhWI4q0Mbxzyx-IPZgbDj9XLLJxEGJ3zH98b_pD-f6z1AB1-k_dj5pYggKeMZA6_75e4SedIcLngz6GNEPbI5U7MFDyGyt939TX03B0SjD7hgCH7vo3ghcKCmRGUsyww2AmNCkTutnaZHQdfrt2zlb3dxHfW1m-MWhuDO-7OXZr-9s4ZL3F-SxLO7ptZ4OrzHvU9pPf0If14t-cv9tft2cmtmmwBqZWUaXkyGYA8td1eUs0Fa7FCg6ZRK8Vbu8NcbuP_ElNmsWpQnhxOICS7XaJOQoc6z7tj3oCDuG71bhxjxsbOFEi8ij9fbmSM4cY4NDuFKZ4VUAaASM47czmYxfOa2cMBgL8pHv7VH-8KHNqT6PtjR89nJiWgNsUPbmAr6H3Zxyrf1QY1t2o0a2JxHD_QZ0GGScTvw' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: f3da5728-0df0-4f51-bf1b-0d6e9435e0a1' \
  -H 'cache-control: no-cache'

The above command returns JSON structured like this:

{
    "event_id": [
        "5be5f7419af92328e3fd0c4b"
    ],
    "owner_id": [
        "5bea0ea82786e166e53d08dc"
    ],
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "status": "purchased",
    "order_id": "4e92c2d0-3480-11e9-b712-5f112da3268e",
    "fees": [
        {
            "charge": "bottle service",
            "amount": 2000
        }
    ],
    "_id": "5c6c68f0636330cb74a16571",
    "ticket_type": "VIP",
    "price": 1000,
    "description": "test",
    "source": "mobile",
    "ticket_id": "Sp4vDu",
    "createdAt": "2019-02-19T20:37:04.236Z",
    "updatedAt": "2019-02-19T20:37:04.236Z",
    "__v": 0,
    "id": "5c6c68f0636330cb74a16571"
}

This endpoint lets you get a ticket.

HTTP request

GET /api.goblockpartytickets.com/v1/api/ticket/<ID>

Required Parameters

Put a ticket

curl -X PUT \
  /api.goblockpartytickets.com/v1/api/ticket/5c6c68f0636330cb74a16571 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIzZDUwMGQwMC0zNDgyLTExZTktYjcxMi01ZjExMmRhMzI2OGUiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNjA2OTU5LCJleHAiOjE1NTA2MTA1NTl9.kgNycaKZdmpT5uPYkL4oYAbSGQH-OA0bkePXypGvGQz51M3ibSviZ-9Qd4_S1wWG6ww_ZtOWUjPBCItNUTMX1bnmUuLXK2ttR1sJrz5A_ciSzTew-MF_1Yo6IQuLDKqwkkeS5b8eFZfq9ZmQd-wPkAedYYBri74UoYQG737sAdvD8DVmtzDwfaga-OMNmfeMdoo5jPTDC9P21OlrW7m-wSksORMsqgusCm6IOl8EYz3iqO-7zXHogVILYFFgIVo19L_3xT951iDhWI4q0Mbxzyx-IPZgbDj9XLLJxEGJ3zH98b_pD-f6z1AB1-k_dj5pYggKeMZA6_75e4SedIcLngz6GNEPbI5U7MFDyGyt939TX03B0SjD7hgCH7vo3ghcKCmRGUsyww2AmNCkTutnaZHQdfrt2zlb3dxHfW1m-MWhuDO-7OXZr-9s4ZL3F-SxLO7ptZ4OrzHvU9pPf0If14t-cv9tft2cmtmmwBqZWUaXkyGYA8td1eUs0Fa7FCg6ZRK8Vbu8NcbuP_ElNmsWpQnhxOICS7XaJOQoc6z7tj3oCDuG71bhxjxsbOFEi8ij9fbmSM4cY4NDuFKZ4VUAaASM47czmYxfOa2cMBgL8pHv7VH-8KHNqT6PtjR89nJiWgNsUPbmAr6H3Zxyrf1QY1t2o0a2JxHD_QZ0GGScTvw' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 633d3c74-96e6-4512-9018-b729d4654f96' \
  -H 'cache-control: no-cache' \
  -d ' {

 "event_id": ["5be5f7419af92328e3fd0c4b"],
                                "owner_id": ["5bea0ea82786e166e53d08dc"],
                                "ticket_id": "",
                                "ticket_type": "VIP",
                                "price": 1000.0,
                                "description": "Not a test anymore",
                                "fees": [{"charge": "bottle service", "amount": 2000}],
                                "source": "mobile"
 }'

The above command returns JSON structured like this:

{
    "event_id": [
        "5be5f7419af92328e3fd0c4b"
    ],
    "owner_id": [
        "5bea0ea82786e166e53d08dc"
    ],
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "status": "purchased",
    "order_id": "4e92c2d0-3480-11e9-b712-5f112da3268e",
    "fees": [
        {
            "charge": "bottle service",
            "amount": 2000
        }
    ],
    "_id": "5c6c68f0636330cb74a16571",
    "ticket_type": "VIP",
    "price": 1000,
    "description": "Not a test anymore",
    "source": "mobile",
    "ticket_id": "Sp4vDu",
    "createdAt": "2019-02-19T20:37:04.236Z",
    "updatedAt": "2019-02-19T20:58:58.233Z",
    "__v": 0,
    "id": "5c6c68f0636330cb74a16571"
}

This endpoint lets you PUT a ticket.

HTTP Request

PUT /api.goblockpartytickets.com/v1/api/ticket/<ID>

Required Parameters

Patch a ticket

curl -X PATCH \
  /api.goblockpartytickets.com/v1/api/ticket/5c6c68f0636330cb74a16571 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIzZDUwMGQwMC0zNDgyLTExZTktYjcxMi01ZjExMmRhMzI2OGUiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNjA2OTU5LCJleHAiOjE1NTA2MTA1NTl9.kgNycaKZdmpT5uPYkL4oYAbSGQH-OA0bkePXypGvGQz51M3ibSviZ-9Qd4_S1wWG6ww_ZtOWUjPBCItNUTMX1bnmUuLXK2ttR1sJrz5A_ciSzTew-MF_1Yo6IQuLDKqwkkeS5b8eFZfq9ZmQd-wPkAedYYBri74UoYQG737sAdvD8DVmtzDwfaga-OMNmfeMdoo5jPTDC9P21OlrW7m-wSksORMsqgusCm6IOl8EYz3iqO-7zXHogVILYFFgIVo19L_3xT951iDhWI4q0Mbxzyx-IPZgbDj9XLLJxEGJ3zH98b_pD-f6z1AB1-k_dj5pYggKeMZA6_75e4SedIcLngz6GNEPbI5U7MFDyGyt939TX03B0SjD7hgCH7vo3ghcKCmRGUsyww2AmNCkTutnaZHQdfrt2zlb3dxHfW1m-MWhuDO-7OXZr-9s4ZL3F-SxLO7ptZ4OrzHvU9pPf0If14t-cv9tft2cmtmmwBqZWUaXkyGYA8td1eUs0Fa7FCg6ZRK8Vbu8NcbuP_ElNmsWpQnhxOICS7XaJOQoc6z7tj3oCDuG71bhxjxsbOFEi8ij9fbmSM4cY4NDuFKZ4VUAaASM47czmYxfOa2cMBgL8pHv7VH-8KHNqT6PtjR89nJiWgNsUPbmAr6H3Zxyrf1QY1t2o0a2JxHD_QZ0GGScTvw' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 5488671f-1615-45af-937c-70d263057cdf' \
  -H 'cache-control: no-cache' \
  -d ' {


                                "ticket_type": "GA"
 }'

The above command returns JSON structured like this:

{
    "event_id": [
        "5be5f7419af92328e3fd0c4b"
    ],
    "owner_id": [
        "5bea0ea82786e166e53d08dc"
    ],
    "organization_id": [
        "5be9cc0cbc9cc153538a9999"
    ],
    "status": "purchased",
    "order_id": "4e92c2d0-3480-11e9-b712-5f112da3268e",
    "fees": [
        {
            "charge": "bottle service",
            "amount": 2000
        }
    ],
    "_id": "5c6c68f0636330cb74a16571",
    "ticket_type": "GA",
    "price": 1000,
    "description": "Not a test anymore",
    "source": "mobile",
    "ticket_id": "Sp4vDu",
    "createdAt": "2019-02-19T20:37:04.236Z",
    "updatedAt": "2019-02-19T21:15:43.875Z",
    "__v": 0,
    "id": "5c6c68f0636330cb74a16571"
}

This endpoint lets you PATCH a ticket.

HTTP Request

PATCH /api.goblockpartytickets.com/v1/api/ticket/<ID>

Required parameters

Delete a ticket

curl -X DELETE \
  /api.goblockpartytickets.com/v1/api/ticket/5c6c68f0636330cb74a16571 \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiIzZDUwMGQwMC0zNDgyLTExZTktYjcxMi01ZjExMmRhMzI2OGUiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNjA2OTU5LCJleHAiOjE1NTA2MTA1NTl9.kgNycaKZdmpT5uPYkL4oYAbSGQH-OA0bkePXypGvGQz51M3ibSviZ-9Qd4_S1wWG6ww_ZtOWUjPBCItNUTMX1bnmUuLXK2ttR1sJrz5A_ciSzTew-MF_1Yo6IQuLDKqwkkeS5b8eFZfq9ZmQd-wPkAedYYBri74UoYQG737sAdvD8DVmtzDwfaga-OMNmfeMdoo5jPTDC9P21OlrW7m-wSksORMsqgusCm6IOl8EYz3iqO-7zXHogVILYFFgIVo19L_3xT951iDhWI4q0Mbxzyx-IPZgbDj9XLLJxEGJ3zH98b_pD-f6z1AB1-k_dj5pYggKeMZA6_75e4SedIcLngz6GNEPbI5U7MFDyGyt939TX03B0SjD7hgCH7vo3ghcKCmRGUsyww2AmNCkTutnaZHQdfrt2zlb3dxHfW1m-MWhuDO-7OXZr-9s4ZL3F-SxLO7ptZ4OrzHvU9pPf0If14t-cv9tft2cmtmmwBqZWUaXkyGYA8td1eUs0Fa7FCg6ZRK8Vbu8NcbuP_ElNmsWpQnhxOICS7XaJOQoc6z7tj3oCDuG71bhxjxsbOFEi8ij9fbmSM4cY4NDuFKZ4VUAaASM47czmYxfOa2cMBgL8pHv7VH-8KHNqT6PtjR89nJiWgNsUPbmAr6H3Zxyrf1QY1t2o0a2JxHD_QZ0GGScTvw' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: fe3b51de-c834-4ed3-95ed-ec979ab81f7b' \
  -H 'cache-control: no-cache'

This endpoint lets you DELETE a ticket.

HTTP Request

DELETE /api.goblockpartytickets.com/v1/api/ticket/5c6c68f0636330cb74a1657

Get all tickets

curl -X GET \
  /api.goblockpartytickets.com/v1/api/ticket/ \
  -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdhbml6YXRpb25JRCI6IjViZTljYzBjYmM5Y2MxNTM1MzhhOTk5OSIsIl9pZCI6IjViZTlkZjk4OGU0YWFhNDM0ODM5NWEzMCIsImVtYWlsIjoiZmVmZUBnbWFpbC5jb20iLCJyb2xlIjoiYmxvY2tBZG1pbiIsInRva2VuSUQiOiI0MmVkNDViMC0zNDhkLTExZTktYjcxMi01ZjExMmRhMzI2OGUiLCJ0eXBlIjoiYWNjZXNzIiwiaWF0IjoxNTUwNjExNjkyLCJleHAiOjE1NTA2MTUyOTJ9.qkVRJ4gR3JIrNC42vqFOJEsr1eYIvmvs_tha88Kx6REudqkjchTx25RmEEHCBfGtZ_GLWCyTWPlOTBjKxSS3j0StcDcL6H9oFo86T_fn-0OteDROX7rRw8ZGhIKOVvpmRCNYvjrHJE92GTpv_zDRAY192KjzxqqHcQIDXrsrEAWbCD9DwWoTNjVV6Y1-qmaw-Mf6t6QiffeLXL8W_IRSa77tAB2RvHpaI5Wl7yCjigzYB5HxOkXA6K-oSZST_0mAXokZbYdXOOqFhlHjj7zRqQC0XEato7ZTdeU2C8WBu-VIhrxE6HfAbSnO0_AZHsyH4U7ugCaFGYSvcYBHo56JYvkn0pBUB8V4rL9zP1DE3hBt2dDewfDn4NkFjhGQj76JNXV-6inmFfqsQc_X9Z0kEN2cUtkVMVRD1IqoH8c4KsJsUgTDOw1zIMeh9ryKMC3Wi9ehBlOLrgSfE2YvLmNgKw0DseYHSzA3XdoGIkIeRyZH9xy8rtS2QgaJ2KQpOyb7Vhvc3A4f-8szXnw_MJRSPiymv9yhAbxdE88tsLjF_naE2BiTZD-QMYuNcXk9OzKCmpCFWgOZKkHT-xdzXAJ5Uf8G0LAcsAMM99qE8DYBxxZFAIgxgEpyL8tPz0BYRjEa1UlbuZqvBHPHfO9otez0YhgXIigo1UXeF-RJmvhANZA' \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 76845691-1d78-4e3b-9f96-b323ee04be58' \
  -H 'cache-control: no-cache'

The above command returns JSON structured like this:

{
    "docs": [
        {
            "event_id": [
                "5be5f7419af92328e3fd0c4b"
            ],
            "owner_id": [
                "5be5f7419af92328e3fd0c4b"
            ],
            "organization_id": [
                "5be9cc0cbc9cc153538a9999"
            ],
            "status": "purchased",
            "order_id": "4e92c2d0-3480-11e9-b712-5f112da3268e",
            "fees": [
                {
                    "charge": "bottle service",
                    "amount": 20
                }
            ],
            "_id": "5c61dbba0d47ff119fce9e65",
            "ticket_type": "VIP",
            "price": 1000,
            "description": "test",
            "ticket_url": "",
            "version": "",
            "source": "mobile",
            "ticket_id": "M2XEZ9",
            "createdAt": "2019-02-11T20:31:54.516Z",
            "updatedAt": "2019-02-11T20:31:54.516Z",
            "__v": 0,
            "id": "5c61dbba0d47ff119fce9e65"
        },
        ...
        ]
        }

This endpoint lets you GET ALL the tickets.

HTTP Request

'GET /api.goblockpartytickets.com/v1/api/ticket/`

Errors

The Kittn API uses the following error codes:

Error Code Meaning
400 Bad Request -- Your request is invalid.
401 Unauthorized -- Your API key is wrong.
403 Forbidden -- The kitten requested is hidden for administrators only.
404 Not Found -- The specified kitten could not be found.
405 Method Not Allowed -- You tried to access a kitten with an invalid method.
406 Not Acceptable -- You requested a format that isn't json.
410 Gone -- The kitten requested has been removed from our servers.
418 I'm a teapot.
429 Too Many Requests -- You're requesting too many kittens! Slow down!
500 Internal Server Error -- We had a problem with our server. Try again later.
503 Service Unavailable -- We're temporarily offline for maintenance. Please try again later.