All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 8s
Co-authored-by: stephen schuresko <mynameisdeleted@gmail.com> Reviewed-on: https://192.168.1.134:3000/posts-api/papi-py/pulls/6
202 lines
5.3 KiB
JSON
202 lines
5.3 KiB
JSON
{
|
|
"v": 1,
|
|
"name": "test_assignment",
|
|
"folders": [
|
|
{
|
|
"v": 1,
|
|
"name": "users",
|
|
"folders": [],
|
|
"requests": [
|
|
{
|
|
"v": "1",
|
|
"endpoint": "https://papi.kube-dev.fairfaxmedia.net/users",
|
|
"name": "list_users",
|
|
"params": [],
|
|
"headers": [],
|
|
"method": "GET",
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
}
|
|
},
|
|
{
|
|
"v": "1",
|
|
"endpoint": "https://papi.kube-dev.fairfaxmedia.net/users",
|
|
"name": "create_user",
|
|
"params": [],
|
|
"headers": [],
|
|
"method": "POST",
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"name\":\"test2\",\n \"email\":\"mynameisdeleted@gmail.com\",\n \"password\":\"pass2\"\n}"
|
|
}
|
|
},
|
|
{
|
|
"v": "1",
|
|
"endpoint": "https://papi.kube-dev.fairfaxmedia.net/users/1",
|
|
"name": "update_user",
|
|
"params": [],
|
|
"headers": [],
|
|
"method": "PUT",
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"name\":\"new name\"\n}"
|
|
}
|
|
},
|
|
{
|
|
"v": "1",
|
|
"endpoint": "https://papi.kube-dev.fairfaxmedia.net/users/1",
|
|
"name": "delete_user",
|
|
"params": [],
|
|
"headers": [],
|
|
"method": "DELETE",
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"name\":\"new name\"\n}"
|
|
}
|
|
},
|
|
{
|
|
"v": "1",
|
|
"endpoint": "https://papi.kube-dev.fairfaxmedia.net/users/1",
|
|
"name": "get_user",
|
|
"params": [],
|
|
"headers": [],
|
|
"method": "GET",
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"v": 1,
|
|
"name": "posts",
|
|
"folders": [],
|
|
"requests": [
|
|
{
|
|
"v": "1",
|
|
"endpoint": "https://papi.kube-dev.fairfaxmedia.net/posts",
|
|
"name": "list_posts",
|
|
"params": [],
|
|
"headers": [],
|
|
"method": "GET",
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"name\":\"new name\"\n}"
|
|
}
|
|
},
|
|
{
|
|
"v": "1",
|
|
"endpoint": "https://papi.kube-dev.fairfaxmedia.net/posts",
|
|
"name": "create_post",
|
|
"params": [],
|
|
"headers": [],
|
|
"method": "POST",
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"title\":\"test title\",\n \"content\":\"testing123\",\n \"author_id\":\"1\"\n}"
|
|
}
|
|
},
|
|
{
|
|
"v": "1",
|
|
"endpoint": "https://papi.kube-dev.fairfaxmedia.net/posts/1",
|
|
"name": "get_post",
|
|
"params": [],
|
|
"headers": [],
|
|
"method": "GET",
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"name\":\"new name\"\n}"
|
|
}
|
|
},
|
|
{
|
|
"v": "1",
|
|
"endpoint": "https://papi.kube-dev.fairfaxmedia.net/posts/1",
|
|
"name": "update_post",
|
|
"params": [],
|
|
"headers": [],
|
|
"method": "PUT",
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"title\":\"new title\"\n}"
|
|
}
|
|
},
|
|
{
|
|
"v": "1",
|
|
"endpoint": "https://papi.kube-dev.fairfaxmedia.net/posts/1",
|
|
"name": "delete_post",
|
|
"params": [],
|
|
"headers": [],
|
|
"method": "DELETE",
|
|
"auth": {
|
|
"authType": "none",
|
|
"authActive": true
|
|
},
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"title\":\"new title\"\n}"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"requests": []
|
|
}
|