Welcome to the Fullstack Convention Center! Here, you can practice making requests to a RESTful API and handling the responses.
The URL to access a resource in the API is structured as follows:
https://fsa-crud-2aa9294fe819.herokuapp.com/api./2109-CPU-RM-WEB-PT/recipesFor example, the URL for all recipes for the 2109 cohort would be:
https://fsa-crud-2aa9294fe819.herokuapp.com/api/2109-CPU-RM-WEB-PT/recipes
If a request is successful, the response will be structured as follows:
{
"success": true,
"data": /* whatever you requested */
}
If an error occurs, the response will be structured as follows:
{
"success": false,
"error": {
"name": "ErrorName",
"message": "This is an error message."
}
}
| id | number ID of the recipe |
| name | string Recipe name |
| imageUrl | string Recipe's image URL |
| description | string Recipe description |
[- {
- "id": 1,
- "name": "Shrimp fried rice",
- "description": "You're telling me a shrimp fried this rice?"
}, - {
- "id": 2,
- "name": "Mac and cheese",
- "description": "You're telling me a mac and this cheese?"
}
]| name required | string Recipe name |
| imageUrl required | string Recipe's image URL |
| description required | string Recipe description |
{- "name": "Shrimp fried rice",
- "description": "You're telling me a shrimp fried this rice?"
}{- "id": 1,
- "name": "Shrimp fried rice",
- "description": "You're telling me a shrimp fried this rice?"
}| id required | number Example: 1 ID of the recipe |
| id | number ID of the recipe |
| name | string Recipe name |
| imageUrl | string Recipe's image URL |
| description | string Recipe description |
{- "id": 1,
- "name": "Shrimp fried rice",
- "description": "You're telling me a shrimp fried this rice?"
}| id required | number Example: 1 ID of the recipe |
| name | string Recipe name |
| imageUrl | string Recipe's image URL |
| description | string Recipe description |
| id | number ID of the recipe |
| name | string Recipe name |
| imageUrl | string Recipe's image URL |
| description | string Recipe description |
{- "name": "Rice fried shrimp",
- "description": "You're telling me a rice fried this shrimp?"
}{- "id": 1,
- "name": "Rice fried shrimp",
- "description": "You're telling me a rice fried this shrimp?"
}The convention center often invites a variety of artists to perform. The main gallery showcases a permanent collection, and several rotating exhibits can be found throughout the building.
| id | number ID of the artist |
| name | string Artist name |
| imageUrl | string Artist's image URL |
| description | string Artist description |
[- {
- "id": 1,
- "name": "String Octet",
- "description": "That's 8 strings!"
}, - {
- "id": 2,
- "name": "Painting octopus",
- "description": "That's 8 paintbrushes!"
}
]| name required | string Artist name |
| imageUrl required | string Artist's image URL |
| description required | string Artist description |
{- "name": "String Octet",
- "description": "That's 8 strings!"
}{- "id": 1,
- "name": "String Octet",
- "description": "That's 8 strings!"
}| id required | number Example: 1 ID of the artist |
| id | number ID of the artist |
| name | string Artist name |
| imageUrl | string Artist's image URL |
| description | string Artist description |
{- "id": 1,
- "name": "String Octet",
- "description": "That's 8 strings!"
}| id required | number Example: 1 ID of the artist |
| name | string Artist name |
| imageUrl | string Artist's image URL |
| description | string Artist description |
| id | number ID of the artist |
| name | string Artist name |
| imageUrl | string Artist's image URL |
| description | string Artist description |
{- "name": "Brass quartet",
- "description": "That's 4 tubas!"
}{- "id": 1,
- "name": "Brass quartet",
- "description": "That's 4 tubas!"
}The convention center hosts a variety of events, from small meetings to large galas. Check here for the latest information on past and upcoming events.
| id | integer ID of the event |
| name | string Event name |
| description | string Event description |
| date | ISO date string When the event is happening |
| location | string Where the event is happening |
[- {
- "id": 1,
- "name": "Fullstack Gala",
- "description": "A night of celebration and networking",
- "date": "2021-09-15T00:00:00.000Z",
- "location": "Main Ballroom"
}
]| name required | string Event name |
| description required | string Event description |
| date required | ISO date string When the event is happening |
| location required | string Where the event is happening |
{- "name": "Fullstack Gala",
- "description": "A night of celebration and networking",
- "date": "2021-09-15T00:00:00.000Z",
- "location": "Main Ballroom"
}{- "id": 1,
- "name": "Fullstack Gala",
- "description": "A night of celebration and networking",
- "date": "2021-09-15T00:00:00.000Z",
- "location": "Main Ballroom"
}| id required | integer ID of the event |
| id | integer ID of the event |
| name | string Event name |
| description | string Event description |
| date | ISO date string When the event is happening |
| location | string Where the event is happening |
{- "id": 1,
- "name": "Fullstack Gala",
- "description": "A night of celebration and networking",
- "date": "2021-09-15T00:00:00.000Z",
- "location": "Main Ballroom"
}| id required | integer ID of the event |
| name | string Event name |
| description | string Event description |
| date | ISO date string When the event is happening |
| location | string Where the event is happening |
| id | integer ID of the event |
| name | string Event name |
| description | string Event description |
| date | ISO date string When the event is happening |
| location | string Where the event is happening |
{- "name": "Fullstack Gala",
- "description": "A night of celebration and networking",
- "date": "2021-09-15T00:00:00.000Z",
- "location": "Main Ballroom"
}{- "id": 1,
- "name": "Fullstack Gala",
- "description": "A night of celebration and networking",
- "date": "2021-09-15T00:00:00.000Z",
- "location": "Main Ballroom"
}| id | integer ID of the guest |
| name | string Guest name |
string Guest email | |
| phone | string Guest phone number |
| bio | string A short biography |
| job | string Guest job title |
[- {
- "id": 1,
- "name": "Penny Nickel",
- "email": "penny@quarter.com",
- "phone": "123-456-7890",
- "bio": "oatmeal advocate",
- "job": "Global Accounts Engineer"
}
]| name required | string Guest name |
| email required | string Guest email |
| phone required | string Guest phone number |
| bio required | string A short biography |
| job required | string Guest job title |
{- "name": "Penny Nickel",
- "email": "penny@quarter.com",
- "phone": "123-456-7890",
- "bio": "oatmeal advocate",
- "job": "Global Accounts Engineer"
}{- "id": 1,
- "name": "Penny Nickel",
- "email": "penny@quarter.com",
- "phone": "123-456-7890",
- "bio": "oatmeal advocate",
- "job": "Global Accounts Engineer"
}| id required | integer ID of the guest |
| id | integer ID of the guest |
| name | string Guest name |
string Guest email | |
| phone | string Guest phone number |
| bio | string A short biography |
| job | string Guest job title |
{- "id": 1,
- "name": "Penny Nickel",
- "email": "penny@quarter.com",
- "phone": "123-456-7890",
- "bio": "oatmeal advocate",
- "job": "Global Accounts Engineer"
}| id required | integer ID of the guest |
| name | string Guest name |
string Guest email | |
| phone | string Guest phone number |
| bio | string A short biography |
| job | string Guest job title |
| id | integer ID of the guest |
| name | string Guest name |
string Guest email | |
| phone | string Guest phone number |
| bio | string A short biography |
| job | string Guest job title |
{- "name": "Penny Nickel",
- "email": "penny@quarter.com",
- "phone": "123-456-7890",
- "bio": "oatmeal advocate",
- "job": "Global Accounts Engineer"
}{- "id": 1,
- "name": "Penny Nickel",
- "email": "penny@quarter.com",
- "phone": "123-456-7890",
- "bio": "oatmeal advocate",
- "job": "Global Accounts Engineer"
}| guestId required | integer ID of the guest who is attending the event |
| eventId required | integer ID of the event that the guest is attending |
{- "guestId": 1,
- "eventId": 1
}{- "id": 1,
- "guestId": 1,
- "eventId": 1
}| id required | integer ID of the RSVP |
| id | integer ID of the RSVP |
| guestId | integer ID of the guest who is attending the event |
| eventId | integer ID of the event that the guest is attending |
{- "id": 1,
- "guestId": 1,
- "eventId": 1
}| id required | integer ID of the RSVP |
| guestId | integer ID of the guest who is attending the event |
| eventId | integer ID of the event that the guest is attending |
| id | integer ID of the RSVP |
| guestId | integer ID of the guest who is attending the event |
| eventId | integer ID of the event that the guest is attending |
{- "guestId": 1,
- "eventId": 1
}{- "id": 1,
- "guestId": 1,
- "eventId": 1
}