Backend for the Base app.
- ID
- Key
- Name
- Secret
- Picture
- Description
- ID
- Name
- Picture
- Password
- Is Verified
- ID
- Name
- Slug
- Picture
- Description
- Creator (User)
- Invitation Code
- ID
- User
- Team
- ID
- Slug
- Name
- Team
- Color
- Description
- User (Creator)
- NotificationMeta
- Type (Private | Public | Direct)
- ID
- User
- Channel
- Last Viewed At
- Messages Viewed
- ID
- Slug
- Channel
- Subject
- Description
- NotificationMeta
- ID
- Slug
- Type
- Meta
- Thread
- Content
- Sender (User | Application)
- ID
- User
- Team
- Type
- Meta
- ID
- File
- Message
- ID
- User
- Message
- ID
- Team
- Message
- Is Accepted
- ID
- Channel
- Application
- ID
- Name
- ID
- Name
- Data Type
- Default Value
- Preference Category
- ID
- Value
- Owner
- Preference
- A User belongs to many Team
- A Team belongs to many User
- A User (creator) has many Team
- A Team belongs to a User (creator)
- A Team belongs to many User
- A User belongs to many Team
- A Team has many Channel
- A Channel belongs to a Team
- A Channel has many Threads
- A Thread belongs to a Channel
- A Channel belongs to many User
- A User belongs to many Channel
- A Thread has many Message
- A Message belongs to a Thread
- A Team has many File
- A File belongs to a Team
- A User has many File
- A File belongs to a User
- A Message has many Attachment
- A Attachment belongs to a Message
- A Message belongs to many User
- A User belongs to many Message
- A User belongs to many Thread
- A Thread belongs to many User
- A Channel belongs to many Integration
- A Integration belongs to many Channel
- A Thread belongs to many Integration
- A Integration belongs to many Thread
- A Application has many Integrations
- A Integration belongs to a Application
- A PreferenceCategory has many Preferences
- A Preference belongs to a PreferenceCategory
- A User belongs to many Preferences
- A Preference belongs to many User
- A Team has many Invitation
- A Invitation belongs to a Team
- Create:
POST /usersβ - Log in:
POST /users/loginβ - Show:
GET /users/{id}β - Update:
PATCH /users/{id} - Upload Picture:
POST /users/pictureβ
- Create:
POST /teamsβ - List:
GET /teams - Show:
GET /teams/{slug}β - Update:
PATCH /teams/{slug} - Delete:
DELETE /teams/{slug} - Members
- List:
GET /teams/{slug}/members - Add:
POST /teams/{slug}/members - Show:
GET /teams/{slug}/members/{uid} - Remove:
DELETE /teams/{slug}/members/{uid}
- List:
- Create:
POST /teams/{slug}/channels - List:
GET /teams/{slug}/channels - Show:
GET /teams/{slug}/channels/{chSlug} - Update:
PATCH /teams/{slug}/channels/{chSlug} - Delete:
DELETE /teams/{slug}/channels/{chSlug} - Members
- List:
GET /teams/{slug}/channels/{chSlug}/members - Add:
POST /teams/{slug}/channels/{chSlug}/members - Remove:
DELETE /teams/{slug}/channels/{chSlug}/members/{uid}
- List:
- Create:
POST /teams/{slug}/channels/{chSlug}/threads - List:
GET /teams/{slug}/channels/{chSlug}/threads - Show:
GET /teams/{slug}/channels/{chSlug}/threads/{thSlug} - Update:
PATCH /teams/{slug}/channels/{chSlug}/threads/{thSlug} - Delete:
DELETE /teams/{slug}/channels/{chSlug}/threads/{thSlug}
- Create:
POST /teams/{slug}/channels/{chSlug}/threads/{thSlug}/messages - List:
GET /teams/{slug}/channels/{chSlug}/threads/{thSlug}/messages - Show:
GET /teams/{slug}/channels/{chSlug}/threads/{thSlug}/messages/{mid} - Update:
PATCH /teams/{slug}/channels/{chSlug}/threads/{thSlug}/messages/{mid} - Delete:
DELETE /teams/{slug}/channels/{chSlug}/threads/{thSlug}/messages/{mid} - Star
- Create:
POST /teams/{slug}/channels/{chSlug}/threads/{thSlug}/messages/{mid}/star - Delete:
DELETE /teams/{slug}/channels/{chSlug}/threads/{thSlug}/messages/{mid}/star
- Create:
- List:
GET /preference-categories - Show:
GET /preference-categories/{id}
- List:
GET /preferences - Show:
GET /preferences/{id}
- List:
GET /teams/{slug}/users/{uid}/preferences - Add:
POST /teams/{slug}/users/{uid}/preferences - Show:
GET /teams/{slug}/users/{uid}/preferences/{pid} - Remove:
DELETE /teams/{slug}/users/{uid}/preferences/{pid}