Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit d96f4f6

Browse files
authored
Merge pull request #8 from codeforberlin/new_endpoints
New endpoints
2 parents 71e128a + 6290b05 commit d96f4f6

11 files changed

Lines changed: 757 additions & 19 deletions

build.gradle

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
buildscript {
22
repositories {
33
mavenCentral()
4+
maven {
5+
url = "https://plugins.gradle.org/m2/"
6+
}
47
}
58
dependencies {
69
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE")
710
}
811
}
912

1013

11-
group= 'opacapi'
12-
version= '1.0-SNAPSHOT'
13-
14-
14+
group = 'opacapi'
15+
version = '1.0-SNAPSHOT'
1516

1617
apply plugin: 'java'
1718
apply plugin: 'idea'
1819
apply plugin: 'application'
1920
apply plugin: 'org.springframework.boot'
2021
apply plugin: 'io.spring.dependency-management'
2122

23+
2224
bootJar {
23-
baseName = 'gs-rest-service'
24-
version = '0.1.0'
25+
baseName = 'opacapijar'
26+
version = '0.1.0'
2527
}
2628

2729
sourceCompatibility = 1.8

opa-capi_2018-06-11.json

Lines changed: 360 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,360 @@
1+
{
2+
"_type": "export",
3+
"__export_format": 3,
4+
"__export_date": "2018-06-11T19:03:13.596Z",
5+
"__export_source": "insomnia.desktop.app:v5.16.6",
6+
"resources": [
7+
{
8+
"_id": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
9+
"created": 1523906273142,
10+
"description": "",
11+
"modified": 1524509808495,
12+
"name": "opa capi",
13+
"parentId": null,
14+
"_type": "workspace"
15+
},
16+
{
17+
"_id": "env_cae0228545934abc9571c9b5fddfe4cb",
18+
"color": null,
19+
"created": 1523906273161,
20+
"data": {},
21+
"isPrivate": false,
22+
"modified": 1523906273161,
23+
"name": "New Environment",
24+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
25+
"_type": "environment"
26+
},
27+
{
28+
"_id": "jar_96e7c71079c7482d87e8128048a8afbf",
29+
"cookies": [],
30+
"created": 1523906273167,
31+
"modified": 1523906273167,
32+
"name": "Default Jar",
33+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
34+
"_type": "cookie_jar"
35+
},
36+
{
37+
"_id": "req_b9dd6647b52245be8ef462723f114e3a",
38+
"authentication": {},
39+
"body": {},
40+
"created": 1523906306554,
41+
"description": "",
42+
"headers": [],
43+
"isPrivate": false,
44+
"metaSortKey": -1523906306554,
45+
"method": "GET",
46+
"modified": 1524511392532,
47+
"name": "Libraries List",
48+
"parameters": [],
49+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
50+
"settingDisableRenderRequestBody": false,
51+
"settingEncodeUrl": true,
52+
"settingRebuildPath": true,
53+
"settingSendCookies": true,
54+
"settingStoreCookies": true,
55+
"url": "{{base_url}}/libraries",
56+
"_type": "request"
57+
},
58+
{
59+
"_id": "req_0c81bf7158d8447b9ee793c20353ace9",
60+
"authentication": {},
61+
"body": {},
62+
"created": 1523906721363,
63+
"description": "",
64+
"headers": [],
65+
"isPrivate": false,
66+
"metaSortKey": -1523906279894,
67+
"method": "GET",
68+
"modified": 1525883415158,
69+
"name": "SearchFields",
70+
"parameters": [],
71+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
72+
"settingDisableRenderRequestBody": false,
73+
"settingEncodeUrl": true,
74+
"settingRebuildPath": true,
75+
"settingSendCookies": true,
76+
"settingStoreCookies": true,
77+
"url": "{{base_url}}/libraries/Berlin/searchFields",
78+
"_type": "request"
79+
},
80+
{
81+
"_id": "req_7717838b882049558adec1b09d34a8d1",
82+
"authentication": {},
83+
"body": {},
84+
"created": 1523906828005,
85+
"description": "",
86+
"headers": [],
87+
"isPrivate": false,
88+
"metaSortKey": -1523906266564,
89+
"method": "GET",
90+
"modified": 1524511801990,
91+
"name": "Search by author",
92+
"parameters": [
93+
{
94+
"id": "pair_0e152baa94134831aff50bc8957fa5b4",
95+
"name": "author",
96+
"value": "Rowling"
97+
},
98+
{
99+
"id": "pair_d3be5a35675e41009b157ac79df61f7e",
100+
"name": "",
101+
"value": ""
102+
}
103+
],
104+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
105+
"settingDisableRenderRequestBody": false,
106+
"settingEncodeUrl": true,
107+
"settingRebuildPath": true,
108+
"settingSendCookies": true,
109+
"settingStoreCookies": true,
110+
"url": "{{base_url}}/libraries/Oranienburg/search",
111+
"_type": "request"
112+
},
113+
{
114+
"_id": "req_10eb52a2b4064742ba25457360e7fbcb",
115+
"authentication": {},
116+
"body": {},
117+
"created": 1523907243379,
118+
"description": "",
119+
"headers": [],
120+
"isPrivate": false,
121+
"metaSortKey": -1523906259899,
122+
"method": "GET",
123+
"modified": 1528136047664,
124+
"name": "Search by title",
125+
"parameters": [
126+
{
127+
"id": "pair_92cb685ac70e4c25946def87c2ee13c7",
128+
"name": "title",
129+
"value": "Liebe"
130+
},
131+
{
132+
"id": "pair_afea56fdda684a08b50f32e59e90c841",
133+
"name": "",
134+
"value": ""
135+
}
136+
],
137+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
138+
"settingDisableRenderRequestBody": false,
139+
"settingEncodeUrl": true,
140+
"settingRebuildPath": true,
141+
"settingSendCookies": true,
142+
"settingStoreCookies": true,
143+
"url": "{{base_url}}/libraries/Berlin/search",
144+
"_type": "request"
145+
},
146+
{
147+
"_id": "req_821c853d9ca946bda9c088f6160ddd10",
148+
"authentication": {},
149+
"body": {},
150+
"created": 1524158853001,
151+
"description": "",
152+
"headers": [],
153+
"isPrivate": false,
154+
"metaSortKey": -1523906256566.5,
155+
"method": "GET",
156+
"modified": 1524511135851,
157+
"name": "Search by author and title",
158+
"parameters": [
159+
{
160+
"id": "pair_ac50ecdc306c4b3ea2f2b8f3f3ab1d9d",
161+
"name": "title",
162+
"value": "Pippi"
163+
},
164+
{
165+
"id": "pair_ab10f7a09527462095e12f2ea2bb7728",
166+
"name": "author",
167+
"value": "Astrid"
168+
}
169+
],
170+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
171+
"settingDisableRenderRequestBody": false,
172+
"settingEncodeUrl": true,
173+
"settingRebuildPath": true,
174+
"settingSendCookies": true,
175+
"settingStoreCookies": true,
176+
"url": "{{base_url}}/libraries/Oranienburg/search",
177+
"_type": "request"
178+
},
179+
{
180+
"_id": "req_28e234b304104f16a36bb2b0131c1ee7",
181+
"authentication": {},
182+
"body": {},
183+
"created": 1524158932032,
184+
"description": "",
185+
"headers": [],
186+
"isPrivate": false,
187+
"metaSortKey": -1523906254900.25,
188+
"method": "GET",
189+
"modified": 1526321928467,
190+
"name": "get by isdn",
191+
"parameters": [],
192+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
193+
"settingDisableRenderRequestBody": false,
194+
"settingEncodeUrl": true,
195+
"settingRebuildPath": true,
196+
"settingSendCookies": true,
197+
"settingStoreCookies": true,
198+
"url": "{{base_url}}/libraries/Pulheim/3257069480",
199+
"_type": "request"
200+
},
201+
{
202+
"_id": "req_115c49f7c4224854bb91c597cc5537e7",
203+
"authentication": {},
204+
"body": {},
205+
"created": 1524163247090,
206+
"description": "",
207+
"headers": [],
208+
"isPrivate": false,
209+
"metaSortKey": -1523906254067.125,
210+
"method": "GET",
211+
"modified": 1524511143340,
212+
"name": "get by invalid isdn",
213+
"parameters": [],
214+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
215+
"settingDisableRenderRequestBody": false,
216+
"settingEncodeUrl": true,
217+
"settingRebuildPath": true,
218+
"settingSendCookies": true,
219+
"settingStoreCookies": true,
220+
"url": "{{base_url}}/libraries/Erlangen/355677",
221+
"_type": "request"
222+
},
223+
{
224+
"_id": "req_89ed096309224a5f8cb5d787ab52046f",
225+
"authentication": {},
226+
"body": {},
227+
"created": 1524166564067,
228+
"description": "",
229+
"headers": [],
230+
"isPrivate": false,
231+
"metaSortKey": -1523906253650.5625,
232+
"method": "GET",
233+
"modified": 1524511147734,
234+
"name": "get by isdn library invalid",
235+
"parameters": [],
236+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
237+
"settingDisableRenderRequestBody": false,
238+
"settingEncodeUrl": true,
239+
"settingRebuildPath": true,
240+
"settingSendCookies": true,
241+
"settingStoreCookies": true,
242+
"url": "{{base_url}}/libraries/Atlantis/3551551677",
243+
"_type": "request"
244+
},
245+
{
246+
"_id": "req_cccf20fcd15547a0b0403f3a2b3d5de9",
247+
"authentication": {},
248+
"body": {},
249+
"created": 1528134651056,
250+
"description": "",
251+
"headers": [],
252+
"isPrivate": false,
253+
"metaSortKey": -1523906254483.6875,
254+
"method": "GET",
255+
"modified": 1528743338779,
256+
"name": "catalog",
257+
"parameters": [],
258+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
259+
"settingDisableRenderRequestBody": false,
260+
"settingEncodeUrl": true,
261+
"settingRebuildPath": true,
262+
"settingSendCookies": true,
263+
"settingStoreCookies": true,
264+
"url": "{{base_url}}/libraries/Berlin/catalog/search?term=3257069480&searchTerm=ISBN",
265+
"_type": "request"
266+
},
267+
{
268+
"_id": "req_d4960470a94b4e59818f94ede2ec9c2a",
269+
"authentication": {},
270+
"body": {},
271+
"created": 1528135837279,
272+
"description": "",
273+
"headers": [],
274+
"isPrivate": false,
275+
"metaSortKey": -1523906254275.4062,
276+
"method": "GET",
277+
"modified": 1528743417139,
278+
"name": "record details",
279+
"parameters": [],
280+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
281+
"settingDisableRenderRequestBody": false,
282+
"settingEncodeUrl": true,
283+
"settingRebuildPath": true,
284+
"settingSendCookies": true,
285+
"settingStoreCookies": true,
286+
"url": "{{base_url}}/libraries/Berlin_HU/record/HUB_UB_ALMA_DS21617352600002882",
287+
"_type": "request"
288+
},
289+
{
290+
"_id": "req_18c90152c685446eb6d69983b310b4b2",
291+
"authentication": {},
292+
"body": {},
293+
"created": 1528137912027,
294+
"description": "",
295+
"headers": [],
296+
"isPrivate": false,
297+
"metaSortKey": -1523906254171.2656,
298+
"method": "GET",
299+
"modified": 1528137979698,
300+
"name": "get by id",
301+
"parameters": [],
302+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
303+
"settingDisableRenderRequestBody": false,
304+
"settingEncodeUrl": true,
305+
"settingRebuildPath": true,
306+
"settingSendCookies": true,
307+
"settingStoreCookies": true,
308+
"url": "{{base_url}}/libraries/Berlin_HU/catalog/search?term=Liebe&searchTerm=Title",
309+
"_type": "request"
310+
},
311+
{
312+
"_id": "req_c0a5e533ddc54ff3a175eb82ed6672f8",
313+
"authentication": {},
314+
"body": {},
315+
"created": 1528140632694,
316+
"description": "",
317+
"headers": [],
318+
"isPrivate": false,
319+
"metaSortKey": -1523906254223.336,
320+
"method": "GET",
321+
"modified": 1528140652939,
322+
"name": "availability",
323+
"parameters": [],
324+
"parentId": "wrk_1d0d432d776143abbd05c3b7e4aecb1c",
325+
"settingDisableRenderRequestBody": false,
326+
"settingEncodeUrl": true,
327+
"settingRebuildPath": true,
328+
"settingSendCookies": true,
329+
"settingStoreCookies": true,
330+
"url": "{{base_url}}/libraries/Berlin_HU/record/branches/HUB_UB_ALMA_DS21617352600002882",
331+
"_type": "request"
332+
},
333+
{
334+
"_id": "env_a194485d42bb4f57922f39a19a753ab3",
335+
"color": "#02cb00",
336+
"created": 1524508747884,
337+
"data": {
338+
"base_url": "http://localhost:8080"
339+
},
340+
"isPrivate": false,
341+
"modified": 1524508953764,
342+
"name": "Local",
343+
"parentId": "env_cae0228545934abc9571c9b5fddfe4cb",
344+
"_type": "environment"
345+
},
346+
{
347+
"_id": "env_caad4d933a334d46aeba6dfe240685ac",
348+
"color": "#cb0200",
349+
"created": 1524508754972,
350+
"data": {
351+
"base_url": "https://berlin.codefor.de"
352+
},
353+
"isPrivate": false,
354+
"modified": 1524508960610,
355+
"name": "Live",
356+
"parentId": "env_cae0228545934abc9571c9b5fddfe4cb",
357+
"_type": "environment"
358+
}
359+
]
360+
}

0 commit comments

Comments
 (0)