Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
2bcd7cd2
Unverified
Commit
2bcd7cd2
authored
Feb 16, 2018
by
Daniel Lee
Committed by
GitHub
Feb 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: status code changes for Team API
parent
8377d363
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
docs/sources/http_api/team.md
+11
-1
No files found.
docs/sources/http_api/team.md
View file @
2bcd7cd2
...
@@ -67,6 +67,7 @@ Status Codes:
...
@@ -67,6 +67,7 @@ Status Codes:
-
**200**
- Ok
-
**200**
- Ok
-
**401**
- Unauthorized
-
**401**
- Unauthorized
-
**403**
- Permission denied
-
**403**
- Permission denied
-
**404**
- Team not found (if searching by name)
## Get Team By Id
## Get Team By Id
...
@@ -169,6 +170,14 @@ Content-Type: application/json
...
@@ -169,6 +170,14 @@ Content-Type: application/json
{"message":"Team updated"}
{"message":"Team updated"}
```
```
Status Codes:
-
**200**
- Ok
-
**401**
- Unauthorized
-
**403**
- Permission denied
-
**404**
- Team not found
-
**409**
- Team name is taken
## Delete Team By Id
## Delete Team By Id
`DELETE /api/teams/:id`
`DELETE /api/teams/:id`
...
@@ -275,7 +284,7 @@ Status Codes:
...
@@ -275,7 +284,7 @@ Status Codes:
-
**400**
- User is already added to this team
-
**400**
- User is already added to this team
-
**401**
- Unauthorized
-
**401**
- Unauthorized
-
**403**
- Permission denied
-
**403**
- Permission denied
-
**
500**
- Failed to add Member to Team
-
**
404**
- Team not found
## Remove Member From Team
## Remove Member From Team
...
@@ -304,3 +313,4 @@ Status Codes:
...
@@ -304,3 +313,4 @@ Status Codes:
-
**200**
- Ok
-
**200**
- Ok
-
**401**
- Unauthorized
-
**401**
- Unauthorized
-
**403**
- Permission denied
-
**403**
- Permission denied
-
**404**
- Team not found/Team member not found
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment