From 30d4306ace78ac6ae09f0ed6101713987018e390 Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Thu, 23 Sep 2021 01:32:35 +0300 Subject: [PATCH] Delete collection.json --- collection.json | 255 ------------------------------------------------ 1 file changed, 255 deletions(-) delete mode 100644 collection.json diff --git a/collection.json b/collection.json deleted file mode 100644 index 8b4a0699..00000000 --- a/collection.json +++ /dev/null @@ -1,255 +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/entries" - }, - "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/entries" - }, - "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", - "event": [ - { - "listen": "test", - "script": { - "id": "c672063d-49de-49e2-a731-51bbe571eb56", - "exec": [ - "pm.test(\"Status code is 200\", function () {", - " pm.response.to.have.status(200);", - "});", - "", - "pm.test(\"Status code is 404\", function () {", - " pm.response.to.have.status(404);", - "});" - ], - "type": "text/javascript" - } - } - ], - "_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" - } - ] -}