Skip to content

Commit 54e3965

Browse files
committed
Add blogs data
1 parent 2831abe commit 54e3965

File tree

2 files changed

+106
-0
lines changed

2 files changed

+106
-0
lines changed

blogs/data/BlogsDemo.lar

14.1 KB
Binary file not shown.
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"info": {
3+
"_postman_id": "d3037c59-d693-4e96-8675-48ee25e55f90",
4+
"name": "Headless Blogs",
5+
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
6+
},
7+
"item": [
8+
{
9+
"name": "Get blogs",
10+
"request": {
11+
"method": "GET",
12+
"header": [],
13+
"body": {
14+
"mode": "raw",
15+
"raw": ""
16+
},
17+
"url": {
18+
"raw": "http://localhost:8080/o/api/content-space/{{contentSpaceId}}/blog-posting",
19+
"protocol": "http",
20+
"host": [
21+
"localhost"
22+
],
23+
"port": "8080",
24+
"path": [
25+
"o",
26+
"api",
27+
"content-space",
28+
"{{contentSpaceId}}",
29+
"blog-posting"
30+
]
31+
}
32+
},
33+
"response": []
34+
},
35+
{
36+
"name": "Create blog",
37+
"request": {
38+
"method": "POST",
39+
"header": [
40+
{
41+
"key": "Content-Type",
42+
"value": "application/json",
43+
"type": "text"
44+
}
45+
],
46+
"body": {
47+
"mode": "raw",
48+
"raw": "{\n\t\"alternativeHeadline\": \"a blog headline\",\n\t\"articleBody\": \"this is a body\",\n\t\"caption\": \"a image\",\n\t\"description\": \"this is an image\",\n\t\"friendlyUrlPath\": \"/url-path\",\n\t\"keywords\": [\"one\", \"two\", \"three\"],\n\t\"headline\": \"this is headline\"\n}"
49+
},
50+
"url": {
51+
"raw": "http://localhost:8080/o/api/content-space/{{contentSpaceId}}/blog-posting",
52+
"protocol": "http",
53+
"host": [
54+
"localhost"
55+
],
56+
"port": "8080",
57+
"path": [
58+
"o",
59+
"api",
60+
"content-space",
61+
"{{contentSpaceId}}",
62+
"blog-posting"
63+
]
64+
}
65+
},
66+
"response": []
67+
}
68+
],
69+
"auth": {
70+
"type": "basic",
71+
"basic": [
72+
{
73+
"key": "password",
74+
"value": "{{password}}",
75+
"type": "string"
76+
},
77+
{
78+
"key": "username",
79+
"value": "{{username}}",
80+
"type": "string"
81+
}
82+
]
83+
},
84+
"event": [
85+
{
86+
"listen": "prerequest",
87+
"script": {
88+
"id": "52c5ca2f-1c66-4027-b085-d4600e75adcb",
89+
"type": "text/javascript",
90+
"exec": [
91+
""
92+
]
93+
}
94+
},
95+
{
96+
"listen": "test",
97+
"script": {
98+
"id": "23e9e8b7-7a94-48f4-857d-8a9faad67b7e",
99+
"type": "text/javascript",
100+
"exec": [
101+
""
102+
]
103+
}
104+
}
105+
]
106+
}

0 commit comments

Comments
 (0)