Main API for CRUD Operations.
Contact information:
API Support
oseiyeboahjohnson@gmail.com
License: Apache 2.0
get all existing bookings
Get List of all bookings.
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
delete booking by id
delete bookings in the database by checking with id
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Booking ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Booking |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get booking by given ID
Get Booking by given ID.
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Booking ID | Yes | string |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
create a booking
create booking in the database
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Booking ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Booking |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
update booking by id
updates bookings in the database by checking with id
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Booking ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Booking |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get all existing categories
Get List of all categories.
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
create a category
create category in the database
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Category ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Category |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get all existing comments
Get List of all comments.
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get all existing events
Get List of all events.
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
delete event by id
delete events in the database by checking with id
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Event ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Event |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get event by given ID
Get Event by given ID.
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Event ID | Yes | string |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
create an event
create event in the database
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Event ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Event |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
update event by id
updates events in the database by checking with id
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Event ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Event |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
query events bases and location
find events using lng,lat and radius
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| radius | query | enter radius for event | No | string |
| lat | query | enter starting latitude | No | string |
| lng | query | enter starting longitude | No | string |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get all existing organizations
Get List of all organizations.
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
delete organization by id
delete organizations in the database by checking with id
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Organization ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Organization |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get organization by given ID
Get Organization by given ID.
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Organization ID | Yes | string |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
create an organization
create organization in the database
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Organization ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Organization |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
update organization by id
updates organizations in the database by checking with id
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Organization ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Organization |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get all existing schedules
Get List of all schedules.
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
delete schedule by id
delete schedules in the database by checking with id
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Schedule ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Schedule |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get schedule by given ID
Get Schedule by given ID.
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Schedule ID | Yes | string |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
create a schedule
create schedule in the database
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Schedule ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Schedule |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
update schedule by id
updates schedules in the database by checking with id
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | Schedule ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.Schedule |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get all existing users
Get List of all users.
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
delete user by id
delete users in the database by checking with id
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | User ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.User |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
get user by given ID
Get User by given ID.
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | User ID | Yes | string |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
create a user
create user in the database
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | User ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.User |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
update user by id
updates users in the database by checking with id
| Name | Located in | Description | Required | Schema |
|---|---|---|---|---|
| id | path | User ID | Yes | string |
| request | body | query params | Yes | ezyevent-api_internal_model.User |
| Code | Description | Schema |
|---|---|---|
| 200 | desc | ezyevent-api_internal_model.ResponseObject & object |
| Name | Type | Description | Required |
|---|---|---|---|
| ID | string | No | |
| createdAt | string | No | |
| schedule | ezyevent-api_internal_model.Schedule | No | |
| scheduleId | string | No | |
| updatedAt | string | No | |
| user | ezyevent-api_internal_model.User | No | |
| userId | string | No |
| Name | Type | Description | Required |
|---|---|---|---|
| iconUrl | string | No | |
| id | string | No | |
| name | string | No |
| Name | Type | Description | Required |
|---|---|---|---|
| createdAt | integer | No | |
| event_id | string | No | |
| id | string | No | |
| message | string | No | |
| updatedAt | integer | Use unix nano seconds as updating time | No |
| user | ezyevent-api_internal_model.User | No | |
| userId | string | No |
| Name | Type | Description | Required |
|---|---|---|---|
| banner | string | No | |
| category | ezyevent-api_internal_model.Category | No | |
| categoryID | string | No | |
| date | integer | No | |
| details | string | No | |
| id | string | No | |
| images | [ string ] | No | |
| lat | number | No | |
| lng | number | No | |
| locationName | string | No | |
| name | string | No | |
| orgId | string | No | |
| organization | ezyevent-api_internal_model.Organization | No | |
| price | number | No | |
| summary | string | No |
| Name | Type | Description | Required |
|---|---|---|---|
| bannerUrl | string | No | |
| createdAt | string | No | |
| id | string | No | |
| name | string | No | |
| orgImageUrl | string | No | |
| updatedAt | string | No | |
| user | ezyevent-api_internal_model.User | No | |
| userId | string | No |
| Name | Type | Description | Required |
|---|---|---|---|
| code | integer | No | |
| data | No | ||
| message | string | No |
| Name | Type | Description | Required |
|---|---|---|---|
| createdAt | string | No | |
| date | string | No | |
| event | ezyevent-api_internal_model.Event | No | |
| eventId | string | No | |
| id | string | No | |
| orgId | string | No | |
| updatedAt | string | No |
| Name | Type | Description | Required |
|---|---|---|---|
| dob | integer | No | |
| string | No | ||
| firstName | string | No | |
| id | string | No | |
| lastName | string | No | |
| phone | string | No | |
| profile_url | string | No |