-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00c51e7
commit ccea540
Showing
3 changed files
with
70 additions
and
14 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 |
---|---|---|
|
@@ -898,11 +898,7 @@ response code will be **422** | |
|
||
method: `GET` | ||
|
||
*input*: | ||
|
||
Authorization Header: | ||
|
||
- Bearer \<access token> | ||
*input*: **None** | ||
|
||
*output*: | ||
|
||
|
@@ -955,10 +951,6 @@ method: `GET` | |
|
||
pass query parametr in URL | ||
|
||
Authorization Header: | ||
|
||
- Bearer \<access token> | ||
|
||
*output*: | ||
|
||
response code will be **200** | ||
|
@@ -969,7 +961,6 @@ response code will be **200** | |
"author_fullname": "Mohammad Hossein Malekpour", | ||
"category": "recepie", | ||
"content": "who konws!", | ||
"current_user_mail": "[email protected]", | ||
"post_id": 2, | ||
"slug": "avaliwern-post-dailywrdiet", | ||
"summary": "pooof", | ||
|
@@ -1072,3 +1063,54 @@ response code will be **403** | |
``` | ||
|
||
---------- | ||
|
||
### `/blog/posts/user` | ||
|
||
method: `GET` | ||
|
||
*input*: | ||
|
||
Authorization Header: | ||
|
||
- Bearer \<access token> | ||
|
||
*output*: | ||
|
||
response code will be **200** | ||
|
||
```json | ||
{ | ||
"2": { | ||
"author_email": "[email protected]", | ||
"author_fullname": "Mohammad Hossein Malekpour", | ||
"category": "recepie", | ||
"content": "who konws!", | ||
"current_user_mail": "[email protected]", | ||
"slug": "avaliwern-post-dailywrdiet", | ||
"summary": "pooof", | ||
"title": "How To Get Diet?" | ||
}, | ||
"3": { | ||
"author_email": "[email protected]", | ||
"author_fullname": "Mohammad Hossein Malekpour", | ||
"category": "recepie", | ||
"content": "who konws!", | ||
"current_user_mail": "[email protected]", | ||
"slug": "dovomi-post-dailywrdiet", | ||
"summary": "pooof", | ||
"title": "How Toqwewe Get Diet?" | ||
}, | ||
"4": { | ||
"author_email": "[email protected]", | ||
"author_fullname": "Mohammad Hossein Malekpour", | ||
"category": "recepie", | ||
"content": "who konws!", | ||
"current_user_mail": "[email protected]", | ||
"slug": "dovomi-post-daasdilywrdiet", | ||
"summary": "pooof", | ||
"title": "How Toqwewdasde Get Diet?" | ||
} | ||
} | ||
``` | ||
|
||
---------- |
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
Binary file not shown.