... | ... | @@ -16,8 +16,8 @@ |
|
|
| Update user profile | /api/v1/users/1 | id (int), first_name, last_name, email, biography, website, googleplus_url, facebook_url, twitter_url, linkedin_url, youtube_url, dorftv_url, cba_url, cba_username, cba_user_token, image | User object | | X |
|
|
|
| Get categories | /api/v1/categories | | Array of category objects | X | | |
|
|
|
| Get category by ID | /api/v1/categories/1 | | Category object | X | | |
|
|
|
| Add category | /api/v1/categories | category (str), abbrev (str), slug (str) | | | | X
|
|
|
| Update category | /api/v1/categories/1 | category (str), abbrev (str), slug (str) | | | X | |
|
|
|
| Add category | /api/v1/categories | category (str), abbrev (str), slug (str), color (str, e.g. '#FFFFFF'), description (str) | | | | X
|
|
|
| Update category | /api/v1/categories/1 | category (str), abbrev (str), slug (str), color (str, e.g. '#FFFFFF'), description (str) | | | X | |
|
|
|
| Get types | /api/v1/types | | Array of type objects | X | | |
|
|
|
| Get type by ID | /api/v1/types/1 | | Type object | X | | |
|
|
|
| Add type | /api/v1/types | type (str), slug (str), color (str), text_color (str) | | | | X
|
... | ... | |