This repository was archived by the owner on Jun 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathResource creation.postman_collection.json
More file actions
70 lines (70 loc) · 2.62 KB
/
Resource creation.postman_collection.json
File metadata and controls
70 lines (70 loc) · 2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"info": {
"_postman_id": "5cedc965-dc7b-48b5-bde9-07ae437d7d6a",
"name": "Resource creation",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "38789822"
},
"item": [
{
"name": "Create Resource - API",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"type\": \"UI\",\r\n \"url\": \"http://example.com/resource9\",\r\n \"description\": \"Descripción del recurso.\",\r\n \"resourceItems\": [\r\n {\r\n \"name\": \"si\",\r\n \"url\": \"http://example.com/resource9\",\r\n \"resourceItemType\": \"PAGE\",\r\n \"description\": \"Descripción del recurso.\"\r\n }\r\n ],\r\n \"identityConfig\": {\r\n \"application\": \"app1\",\r\n \"homeUrl\": \"http://localhost\",\r\n \"name\": \"app1-resource9\",\r\n \"description\": \"Description for test application\",\r\n \"endpoints\": [\r\n {\r\n \"name\": \"Test get\",\r\n \"methods\": [\"GET\"],\r\n \"path\": \"/api/test-endpoint\",\r\n \"permission\": \"test-permission\"\r\n },\r\n {\r\n \"name\": \"Test post\",\r\n \"methods\": [\"POST\"],\r\n \"path\": \"/api/another-endpoint\",\r\n \"permission\": \"admin-permission\"\r\n }\r\n ]\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8082/apps/1/resources",
"protocol": "http",
"host": [
"localhost"
],
"port": "8082",
"path": [
"apps",
"1",
"resources"
]
}
},
"response": []
},
{
"name": "Create Resource - Page",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"type\": \"UI\",\r\n \"url\": \"http://example.com/resource9\",\r\n \"description\": \"Descripción del recurso.\",\r\n \"resourceItems\": [\r\n {\r\n \"name\": \"si\",\r\n \"url\": \"http://example.com/resource9\",\r\n \"resourceItemType\": \"PAGE\",\r\n \"description\": \"Descripción del recurso.\"\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8082/apps/1/resources",
"protocol": "http",
"host": [
"localhost"
],
"port": "8082",
"path": [
"apps",
"1",
"resources"
]
}
},
"response": []
}
]
}