generated from admin/template
lab-03
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
info:
|
||||||
|
name: Health
|
||||||
|
type: folder
|
||||||
|
|
||||||
|
request:
|
||||||
|
auth: inherit
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
info:
|
||||||
|
name: get /health
|
||||||
|
type: http
|
||||||
|
seq: 1
|
||||||
|
tags:
|
||||||
|
- Health
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: GET
|
||||||
|
url: "{{baseUrl}}/health"
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
|
forwardAuthorizationHeader: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- name: 200 Response
|
||||||
|
description: OK
|
||||||
|
request:
|
||||||
|
url: "{{baseUrl}}/health"
|
||||||
|
method: GET
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
body:
|
||||||
|
type: text
|
||||||
|
data: ""
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
info:
|
||||||
|
name: delete /pokemons/:id
|
||||||
|
type: http
|
||||||
|
seq: 5
|
||||||
|
tags:
|
||||||
|
- Pokemons
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: DELETE
|
||||||
|
url: "{{baseUrl}}/pokemons/:id"
|
||||||
|
params:
|
||||||
|
- name: id
|
||||||
|
value: ""
|
||||||
|
type: path
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
|
forwardAuthorizationHeader: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- name: 200 Response
|
||||||
|
description: OK
|
||||||
|
request:
|
||||||
|
url: "{{baseUrl}}/pokemons/:id"
|
||||||
|
method: DELETE
|
||||||
|
params:
|
||||||
|
- name: id
|
||||||
|
value: ""
|
||||||
|
type: path
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
body:
|
||||||
|
type: text
|
||||||
|
data: ""
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
info:
|
||||||
|
name: Pokemons
|
||||||
|
type: folder
|
||||||
|
|
||||||
|
request:
|
||||||
|
auth: inherit
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
info:
|
||||||
|
name: get /pokemons/:id
|
||||||
|
type: http
|
||||||
|
seq: 3
|
||||||
|
tags:
|
||||||
|
- Pokemons
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: GET
|
||||||
|
url: "{{baseUrl}}/pokemons/:id"
|
||||||
|
params:
|
||||||
|
- name: id
|
||||||
|
value: ""
|
||||||
|
type: path
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
|
forwardAuthorizationHeader: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- name: 200 Response
|
||||||
|
description: OK
|
||||||
|
request:
|
||||||
|
url: "{{baseUrl}}/pokemons/:id"
|
||||||
|
method: GET
|
||||||
|
params:
|
||||||
|
- name: id
|
||||||
|
value: ""
|
||||||
|
type: path
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
body:
|
||||||
|
type: text
|
||||||
|
data: ""
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
info:
|
||||||
|
name: get /pokemons/search
|
||||||
|
type: http
|
||||||
|
seq: 6
|
||||||
|
tags:
|
||||||
|
- Pokemons
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: GET
|
||||||
|
url: "{{baseUrl}}/pokemons/search"
|
||||||
|
params:
|
||||||
|
- name: name
|
||||||
|
value: ""
|
||||||
|
type: query
|
||||||
|
disabled: true
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
|
forwardAuthorizationHeader: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- name: 200 Response
|
||||||
|
description: OK
|
||||||
|
request:
|
||||||
|
url: "{{baseUrl}}/pokemons/search"
|
||||||
|
method: GET
|
||||||
|
params:
|
||||||
|
- name: name
|
||||||
|
value: ""
|
||||||
|
type: query
|
||||||
|
disabled: true
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
body:
|
||||||
|
type: text
|
||||||
|
data: ""
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
info:
|
||||||
|
name: get /pokemons
|
||||||
|
type: http
|
||||||
|
seq: 1
|
||||||
|
tags:
|
||||||
|
- Pokemons
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: GET
|
||||||
|
url: "{{baseUrl}}/pokemons"
|
||||||
|
params:
|
||||||
|
- name: type
|
||||||
|
value: ""
|
||||||
|
type: query
|
||||||
|
disabled: true
|
||||||
|
- name: minLevel
|
||||||
|
value: ""
|
||||||
|
type: query
|
||||||
|
disabled: true
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
|
forwardAuthorizationHeader: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- name: 200 Response
|
||||||
|
description: OK
|
||||||
|
request:
|
||||||
|
url: "{{baseUrl}}/pokemons"
|
||||||
|
method: GET
|
||||||
|
params:
|
||||||
|
- name: type
|
||||||
|
value: ""
|
||||||
|
type: query
|
||||||
|
disabled: true
|
||||||
|
- name: minLevel
|
||||||
|
value: ""
|
||||||
|
type: query
|
||||||
|
disabled: true
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
body:
|
||||||
|
type: text
|
||||||
|
data: ""
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
info:
|
||||||
|
name: patch /pokemons/:id/level
|
||||||
|
type: http
|
||||||
|
seq: 7
|
||||||
|
tags:
|
||||||
|
- Pokemons
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: PATCH
|
||||||
|
url: "{{baseUrl}}/pokemons/:id/level"
|
||||||
|
params:
|
||||||
|
- name: id
|
||||||
|
value: ""
|
||||||
|
type: path
|
||||||
|
body:
|
||||||
|
type: json
|
||||||
|
data: |-
|
||||||
|
{
|
||||||
|
"level": ""
|
||||||
|
}
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
|
forwardAuthorizationHeader: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- name: 200 Response
|
||||||
|
description: OK
|
||||||
|
request:
|
||||||
|
url: "{{baseUrl}}/pokemons/:id/level"
|
||||||
|
method: PATCH
|
||||||
|
params:
|
||||||
|
- name: id
|
||||||
|
value: ""
|
||||||
|
type: path
|
||||||
|
body:
|
||||||
|
type: json
|
||||||
|
data: |-
|
||||||
|
{
|
||||||
|
"level": ""
|
||||||
|
}
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
body:
|
||||||
|
type: text
|
||||||
|
data: ""
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
info:
|
||||||
|
name: post /pokemons
|
||||||
|
type: http
|
||||||
|
seq: 2
|
||||||
|
tags:
|
||||||
|
- Pokemons
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: POST
|
||||||
|
url: "{{baseUrl}}/pokemons"
|
||||||
|
body:
|
||||||
|
type: json
|
||||||
|
data: |-
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "",
|
||||||
|
"level": ""
|
||||||
|
}
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
|
forwardAuthorizationHeader: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- name: 200 Response
|
||||||
|
description: OK
|
||||||
|
request:
|
||||||
|
url: "{{baseUrl}}/pokemons"
|
||||||
|
method: POST
|
||||||
|
body:
|
||||||
|
type: json
|
||||||
|
data: |-
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "",
|
||||||
|
"level": ""
|
||||||
|
}
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
body:
|
||||||
|
type: text
|
||||||
|
data: ""
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
info:
|
||||||
|
name: put /pokemons/:id
|
||||||
|
type: http
|
||||||
|
seq: 4
|
||||||
|
tags:
|
||||||
|
- Pokemons
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: PUT
|
||||||
|
url: "{{baseUrl}}/pokemons/:id"
|
||||||
|
params:
|
||||||
|
- name: id
|
||||||
|
value: ""
|
||||||
|
type: path
|
||||||
|
body:
|
||||||
|
type: json
|
||||||
|
data: |-
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "",
|
||||||
|
"level": ""
|
||||||
|
}
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
|
forwardAuthorizationHeader: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- name: 200 Response
|
||||||
|
description: OK
|
||||||
|
request:
|
||||||
|
url: "{{baseUrl}}/pokemons/:id"
|
||||||
|
method: PUT
|
||||||
|
params:
|
||||||
|
- name: id
|
||||||
|
value: ""
|
||||||
|
type: path
|
||||||
|
body:
|
||||||
|
type: json
|
||||||
|
data: |-
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"type": "",
|
||||||
|
"level": ""
|
||||||
|
}
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
body:
|
||||||
|
type: text
|
||||||
|
data: ""
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
info:
|
||||||
|
name: Types
|
||||||
|
type: folder
|
||||||
|
|
||||||
|
request:
|
||||||
|
auth: inherit
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
info:
|
||||||
|
name: get /types/:type
|
||||||
|
type: http
|
||||||
|
seq: 2
|
||||||
|
tags:
|
||||||
|
- Types
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: GET
|
||||||
|
url: "{{baseUrl}}/types/:type"
|
||||||
|
params:
|
||||||
|
- name: type
|
||||||
|
value: ""
|
||||||
|
type: path
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
|
forwardAuthorizationHeader: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- name: 200 Response
|
||||||
|
description: OK
|
||||||
|
request:
|
||||||
|
url: "{{baseUrl}}/types/:type"
|
||||||
|
method: GET
|
||||||
|
params:
|
||||||
|
- name: type
|
||||||
|
value: ""
|
||||||
|
type: path
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
body:
|
||||||
|
type: text
|
||||||
|
data: ""
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
info:
|
||||||
|
name: get /types
|
||||||
|
type: http
|
||||||
|
seq: 1
|
||||||
|
tags:
|
||||||
|
- Types
|
||||||
|
|
||||||
|
http:
|
||||||
|
method: GET
|
||||||
|
url: "{{baseUrl}}/types"
|
||||||
|
auth: inherit
|
||||||
|
|
||||||
|
settings:
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
followRedirects: true
|
||||||
|
maxRedirects: 5
|
||||||
|
forwardAuthorizationHeader: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- name: 200 Response
|
||||||
|
description: OK
|
||||||
|
request:
|
||||||
|
url: "{{baseUrl}}/types"
|
||||||
|
method: GET
|
||||||
|
response:
|
||||||
|
status: 200
|
||||||
|
statusText: OK
|
||||||
|
body:
|
||||||
|
type: text
|
||||||
|
data: ""
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
name: Environment 1
|
||||||
|
variables:
|
||||||
|
- name: baseUrl
|
||||||
|
value: http://localhost:5114
|
||||||
|
description: ""
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
opencollection: 1.0.0
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: PokedexApi | v1 - 1
|
||||||
|
bundled: false
|
||||||
|
extensions:
|
||||||
|
bruno:
|
||||||
|
ignore:
|
||||||
|
- node_modules
|
||||||
|
- .git
|
||||||
Reference in New Issue
Block a user