-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#7] delete header email from API Groups Doc
- Loading branch information
Showing
1 changed file
with
0 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ Key | Value | |
--- | --- | ||
Content-Type | application/json | ||
Accept | application/json | ||
Email | [email protected] | ||
|
||
### Request Payloads | ||
Name | Type | Example Value | ||
|
@@ -204,7 +203,6 @@ Key | Value | |
--- | --- | ||
Content-Type | application/json | ||
Accept | application/json | ||
Email | [email protected] | ||
|
||
``` | ||
{ | ||
|
@@ -217,18 +215,9 @@ Email | [email protected] | |
### Response Payloads | ||
HTTP Code | Status | Description | ||
--- | --- | --- | ||
403 | Forbidden | Groups is not owned by user login | ||
404 | Not Found | Groups not found in database | ||
500 | Internal Server Error | some un-handle error in server | ||
200 | OK | OK | ||
``` | ||
{ | ||
"status_code": "CDC-403", | ||
"status_message": "Groups is not owned by user login", | ||
"data": null | ||
} | ||
``` | ||
|
||
``` | ||
{ | ||
"status_code": "CDC-200", | ||
|
@@ -246,30 +235,13 @@ HTTP Code | Status | Description | |
#### Endpoint Validation | ||
- must be add parameter id | ||
- id must exist in database | ||
- must owned by user login | ||
|
||
#### Validation | ||
No Validation | ||
|
||
### Scenario Test | ||
|
||
#### Case : Negative Case 1 | ||
|
||
Groups is not owned by user login | ||
|
||
Response HTTP Status Code : 403 | ||
|
||
Response Payload : | ||
``` | ||
{ | ||
"status_code": "CDC-403", | ||
"status_message": "Groups is not owned by user login", | ||
"data": null | ||
} | ||
``` | ||
|
||
#### Case : Negative Case 2 | ||
|
||
- param id is not exist in database | ||
|
||
Endpoint : /groups/100 | ||
|
@@ -296,7 +268,6 @@ Key | Value | |
--- | --- | ||
Content-Type | application/json | ||
Accept | application/json | ||
Email | [email protected] | ||
|
||
Request Payload : | ||
``` | ||
|
@@ -381,7 +352,6 @@ Key | Value | |
--- | --- | ||
Content-Type | application/json | ||
Accept | application/json | ||
Email | [email protected] | ||
|
||
### Request Payloads | ||
Name | Type | Example Value | ||
|
@@ -443,51 +413,28 @@ Key | Value | |
--- | --- | ||
Content-Type | * | ||
Accept | application/json | ||
Email | [email protected] | ||
|
||
### Request Payloads | ||
No request payloads | ||
|
||
### Response Payloads | ||
HTTP Code | Status | Description | ||
--- | --- | --- | ||
403 | Forbidden | Groups is not owned by user login | ||
404 | Not Found | Groups not found in database | ||
500 | Internal Server Error | some un-handle error in server | ||
204 | No Content | Server request has succeeded but response is no content | ||
|
||
``` | ||
{ | ||
"status_code": "CDC-403", | ||
"status_message": "Groups is not owned by user login", | ||
"data": null | ||
} | ||
``` | ||
Status 204 : No Response | ||
|
||
### Logic | ||
#### Endpoint Validation | ||
- must be add parameter id | ||
- id must exist in database | ||
- must owned by user login | ||
|
||
#### Validation | ||
No Validation | ||
|
||
#### Case : Negative Case 1 | ||
- group is not owned by user login | ||
Response HTTP Status Code : 403 | ||
|
||
Response Payload : | ||
``` | ||
{ | ||
"status_code": "cdc-403", | ||
"status_message": "Groups is not owned by user login", | ||
"data": null | ||
} | ||
``` | ||
|
||
#### Case : Negative Case 2 | ||
- param id is not exist in database | ||
|
||
Endpoint : /groups/100 | ||
|
@@ -512,7 +459,6 @@ Key | Value | |
--- | --- | ||
Content-Type | application/json | ||
Accept | application/json | ||
Email | [email protected] | ||
|
||
Response HTTP Status Code : 204 | ||
|
||
|