diff --git a/works/lab-03/PokedexApi - v1 - 1/Health/folder.yml b/works/lab-03/PokedexApi - v1 - 1/Health/folder.yml new file mode 100644 index 0000000..4623d7c --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Health/folder.yml @@ -0,0 +1,6 @@ +info: + name: Health + type: folder + +request: + auth: inherit diff --git a/works/lab-03/PokedexApi - v1 - 1/Health/get -health.yml b/works/lab-03/PokedexApi - v1 - 1/Health/get -health.yml new file mode 100644 index 0000000..20c0e66 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Health/get -health.yml @@ -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: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/Pokemons/delete -pokemons--id.yml b/works/lab-03/PokedexApi - v1 - 1/Pokemons/delete -pokemons--id.yml new file mode 100644 index 0000000..f8b1323 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Pokemons/delete -pokemons--id.yml @@ -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: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/Pokemons/folder.yml b/works/lab-03/PokedexApi - v1 - 1/Pokemons/folder.yml new file mode 100644 index 0000000..f755ae9 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Pokemons/folder.yml @@ -0,0 +1,6 @@ +info: + name: Pokemons + type: folder + +request: + auth: inherit diff --git a/works/lab-03/PokedexApi - v1 - 1/Pokemons/get -pokemons--id.yml b/works/lab-03/PokedexApi - v1 - 1/Pokemons/get -pokemons--id.yml new file mode 100644 index 0000000..8ad3621 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Pokemons/get -pokemons--id.yml @@ -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: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/Pokemons/get -pokemons-search.yml b/works/lab-03/PokedexApi - v1 - 1/Pokemons/get -pokemons-search.yml new file mode 100644 index 0000000..190588b --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Pokemons/get -pokemons-search.yml @@ -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: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/Pokemons/get -pokemons.yml b/works/lab-03/PokedexApi - v1 - 1/Pokemons/get -pokemons.yml new file mode 100644 index 0000000..5ca758a --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Pokemons/get -pokemons.yml @@ -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: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/Pokemons/patch -pokemons--id-level.yml b/works/lab-03/PokedexApi - v1 - 1/Pokemons/patch -pokemons--id-level.yml new file mode 100644 index 0000000..2ab25d2 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Pokemons/patch -pokemons--id-level.yml @@ -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: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/Pokemons/post -pokemons.yml b/works/lab-03/PokedexApi - v1 - 1/Pokemons/post -pokemons.yml new file mode 100644 index 0000000..f9c3745 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Pokemons/post -pokemons.yml @@ -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: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/Pokemons/put -pokemons--id.yml b/works/lab-03/PokedexApi - v1 - 1/Pokemons/put -pokemons--id.yml new file mode 100644 index 0000000..2abf635 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Pokemons/put -pokemons--id.yml @@ -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: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/Types/folder.yml b/works/lab-03/PokedexApi - v1 - 1/Types/folder.yml new file mode 100644 index 0000000..2797bb0 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Types/folder.yml @@ -0,0 +1,6 @@ +info: + name: Types + type: folder + +request: + auth: inherit diff --git a/works/lab-03/PokedexApi - v1 - 1/Types/get -types--type.yml b/works/lab-03/PokedexApi - v1 - 1/Types/get -types--type.yml new file mode 100644 index 0000000..94df26a --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Types/get -types--type.yml @@ -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: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/Types/get -types.yml b/works/lab-03/PokedexApi - v1 - 1/Types/get -types.yml new file mode 100644 index 0000000..3edfb14 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/Types/get -types.yml @@ -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: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/environments/Environment 1.yml b/works/lab-03/PokedexApi - v1 - 1/environments/Environment 1.yml new file mode 100644 index 0000000..51cd543 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/environments/Environment 1.yml @@ -0,0 +1,5 @@ +name: Environment 1 +variables: + - name: baseUrl + value: http://localhost:5114 + description: "" diff --git a/works/lab-03/PokedexApi - v1 - 1/opencollection.yml b/works/lab-03/PokedexApi - v1 - 1/opencollection.yml new file mode 100644 index 0000000..56921c6 --- /dev/null +++ b/works/lab-03/PokedexApi - v1 - 1/opencollection.yml @@ -0,0 +1,10 @@ +opencollection: 1.0.0 + +info: + name: PokedexApi | v1 - 1 +bundled: false +extensions: + bruno: + ignore: + - node_modules + - .git