Manage your event from the command line.
Generally in accordance with REST and RoR routing conventions
{
'ACCEPT' => 'application/json'
}
method | path | controller |
---|---|---|
GET | /api/v1/companies/:company_id/events(.:format) | api/v1/events#index |
POST | /api/v1/companies/:company_id/events(.:format) | api/v1/events#create |
GET | /api/v1/events/:id(.:format) | api/v1/events#show |
PATCH | /api/v1/events/:id(.:format) | api/v1/events#update |
PUT | /api/v1/events/:id(.:format) | api/v1/events#update |
DELETE | /api/v1/events/:id(.:format) | api/v1/events#destroy |
method | path | controller |
---|---|---|
GET | /api/v1/events/:event_id/tickets(.:format) | api/v1/tickets#index |
POST | /api/v1/events/:event_id/tickets(.:format) | api/v1/tickets#create |
GET | /api/v1/tickets/:id(.:format) | api/v1/tickets#show |
PATCH | /api/v1/tickets/:id(.:format) | api/v1/tickets#update |
PUT | /api/v1/tickets/:id(.:format) | api/v1/tickets#update |
DELETE | /api/v1/tickets/:id(.:format) | api/v1/tickets#destroy |
method | path | controller |
---|---|---|
GET | /api/v1/events/:event_id/spaces(.:format) | api/v1/spaces#index |
POST | /api/v1/events/:event_id/spaces(.:format) | api/v1/spaces#create |
GET | /api/v1/spaces/:id(.:format) | api/v1/spaces#show |
PATCH | /api/v1/spaces/:id(.:format) | api/v1/spaces#update |
PUT | /api/v1/spaces/:id(.:format) | api/v1/spaces#update |
DELETE | /api/v1/spaces/:id(.:format) | api/v1/spaces#destroy |
{
venue_id,
}