1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 05:36:54 +02:00

Delete collection.json

This commit is contained in:
Sergey Romanenko
2021-09-23 01:32:20 +03:00
committed by GitHub
parent 312938e435
commit 202d0eddf2

View File

@@ -1,237 +0,0 @@
{
"info": {
"_postman_id": "29d7e016-cea7-4386-84a2-4515e4958615",
"name": "Flextype",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "Utils",
"item": [
{
"name": "Clear cache",
"event": [
{
"listen": "test",
"script": {
"id": "f2912507-a2ba-4b21-843e-8f0aef3cacd0",
"exec": [
"pm.test(\"Status code is 200\", () => {",
" pm.expect(pm.response.code).to.eql(200);",
"});"
],
"type": "text/javascript"
}
}
],
"_postman_id": "cc8dcc7c-c162-4106-a37a-756a573e1a0d",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"token\": \"{{token}}\",\n \"access_token\": \"{{access_token}}\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/api/utils/cache/clear"
},
"response": []
}
],
"_postman_id": "a33c6871-1019-4559-bd91-d922cf520ea1"
},
{
"name": "Entries",
"item": [
{
"name": "Fetch entry",
"_postman_id": "f2dd409b-c395-4610-8b50-493f6dab8571",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/api/content?id={{entry_id}}&token={{token}}",
"host": [
"{{base_url}}"
],
"path": [
"api",
"content"
],
"query": [
{
"key": "id",
"value": "{{entry_id}}"
},
{
"key": "token",
"value": "{{token}}"
}
]
}
},
"response": []
},
{
"name": "Create entry",
"_postman_id": "38392a86-0dee-4d75-80fd-31d7504ebdf5",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"token\": \"{{token}}\",\n \"access_token\": \"{{access_token}}\",\n \"id\": \"bar\",\n \"data\": {\n \"title\": \"Bar\"\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/api/entries"
},
"response": []
},
{
"name": "Update entry",
"_postman_id": "9f045111-f130-406e-a369-c6ca002b0d26",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "PATCH",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"token\": \"{{token}}\",\n \"access_token\": \"{{access_token}}\",\n \"id\": \"bar\",\n \"data\": {\n \"title\": \"Bar\"\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/api/content"
},
"response": []
},
{
"name": "Move entry",
"_postman_id": "274afb61-dda3-4c06-b2f6-3e70d945520b",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"token\": \"{{token}}\",\n \"access_token\": \"{{access_token}}\",\n \"id\": \"bar\",\n \"new_id\": \"zed\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/api/content"
},
"response": []
},
{
"name": "Copy entry",
"_postman_id": "25d04444-9c92-4803-8565-c3c1e9778dfe",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"token\": \"{{token}}\",\n \"access_token\": \"{{access_token}}\",\n \"id\": \"bar\",\n \"new_id\": \"zed\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/api/content/copy"
},
"response": []
},
{
"name": "Delete entry",
"_postman_id": "d38ae443-1d01-485d-b166-5ba694de497a",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "DELETE",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"token\": \"{{token}}\",\n \"access_token\": \"{{access_token}}\",\n \"id\": \"bar\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{base_url}}/api/content"
},
"response": []
}
],
"_postman_id": "c9d106e8-8f90-4f61-af3f-9033043d73fb"
},
{
"name": "Registry",
"item": [
{
"name": "Get registry item",
"_postman_id": "85a9bbea-c89e-46da-a574-3f0ec29a15b8",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/api/registry?name={{registry_item_name}}&token={{token}}",
"host": [
"{{base_url}}"
],
"path": [
"api",
"registry"
],
"query": [
{
"key": "name",
"value": "{{registry_item_name}}"
},
{
"key": "token",
"value": "{{token}}"
}
]
}
},
"response": []
}
],
"_postman_id": "07206fde-26e3-47d6-958f-cbbffd5b2eb9"
}
]
}