Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,321 @@
{
"item": [
{
"id": "5cc5a414-4ca3-43ba-aecc-600e96f8bdb8",
"name": "example",
"item": [
{
"id": "3c450506-3565-42ed-b1bc-bddfcf57c888",
"name": "example - Example GET endpoint",
"request": {
"name": "Example GET endpoint",
"description": {
"content": "Retrieves example data.",
"type": "text/plain"
},
"url": {
"path": [
"example"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"method": "GET",
"auth": null
},
"response": [
{
"id": "bce65a1a-0163-445a-9ea7-e6b196d32891",
"name": "Successful response",
"originalRequest": {
"url": {
"path": [
"example"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"method": "GET",
"body": {}
},
"status": "OK",
"code": 200,
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"message\": \"string\"\n}",
"cookie": [],
"_postman_previewlanguage": "json"
},
{
"id": "e3df6a8f-d089-48c3-9b35-9d745e1f7444",
"name": "Bad Request",
"originalRequest": {
"url": {
"path": [
"example"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"method": "GET",
"body": {}
},
"status": "Bad Request",
"code": 400,
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"body": "",
"cookie": [],
"_postman_previewlanguage": "text"
},
{
"id": "897639e1-6087-4b62-82bd-bd04956836e9",
"name": "Internal Server Error",
"originalRequest": {
"url": {
"path": [
"example"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"method": "GET",
"body": {}
},
"status": "Internal Server Error",
"code": 500,
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"body": "",
"cookie": [],
"_postman_previewlanguage": "text"
}
],
"event": [],
"protocolProfileBehavior": {
"disableBodyPruning": true
}
},
{
"id": "30c60e0e-992c-480c-b924-3678c24f634d",
"name": "example - Example POST endpoint",
"request": {
"name": "Example POST endpoint",
"description": {
"content": "Creates example data.",
"type": "text/plain"
},
"url": {
"path": [
"example"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"method": "POST",
"auth": null,
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"<string>\"\n}",
"options": {
"raw": {
"language": "json"
}
}
}
},
"response": [
{
"id": "b09880da-45d8-4881-96c9-7e4c0d9a590d",
"name": "Created",
"originalRequest": {
"url": {
"path": [
"example"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"method": "POST",
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"<string>\"\n}",
"options": {
"raw": {
"language": "json"
}
}
}
},
"status": "Created",
"code": 201,
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": "{\n \"id\": \"string\"\n}",
"cookie": [],
"_postman_previewlanguage": "json"
},
{
"id": "f729afc9-831a-43f9-9a1c-aef437080471",
"name": "Bad Request",
"originalRequest": {
"url": {
"path": [
"example"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"method": "POST",
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"<string>\"\n}",
"options": {
"raw": {
"language": "json"
}
}
}
},
"status": "Bad Request",
"code": 400,
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"body": "",
"cookie": [],
"_postman_previewlanguage": "text"
},
{
"id": "5f67c759-3dfd-4763-80a7-d4fa51c944b5",
"name": "Internal Server Error",
"originalRequest": {
"url": {
"path": [
"example"
],
"host": [
"{{baseUrl}}"
],
"query": [],
"variable": []
},
"method": "POST",
"body": {
"mode": "raw",
"raw": "{\n \"name\": \"<string>\"\n}",
"options": {
"raw": {
"language": "json"
}
}
}
},
"status": "Internal Server Error",
"code": 500,
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"body": "",
"cookie": [],
"_postman_previewlanguage": "text"
}
],
"event": [],
"protocolProfileBehavior": {
"disableBodyPruning": true
}
}
],
"event": []
}
],
"event": [],
"variable": [
{
"type": "string",
"value": "/",
"key": "baseUrl"
}
],
"info": {
"_postman_id": "f0d3ea47-e73a-425f-8981-0000a2a4c13b",
"name": "Sample API",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"description": {
"content": "This is a sample API for demonstration purposes.",
"type": "text/plain"
}
}
}