Skip to content

Commit 03c6882

Browse files
committed
Update Root.json.example
1 parent 1025f99 commit 03c6882

File tree

1 file changed

+80
-60
lines changed

1 file changed

+80
-60
lines changed
Lines changed: 80 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,113 @@
11
{
22
"Root": {
3-
"_media-type": "application/vnd.ibexa.api.Root+json",
3+
"_media-type": "application\/vnd.ibexa.api.Root+json",
44
"content": {
5-
"_href": "/api/ibexa/v2/content/objects",
6-
"_media-type": ""
5+
"_media-type": "",
6+
"_href": "\/api\/ibexa\/v2\/content\/objects"
77
},
88
"contentByRemoteId": {
9-
"_href": "/api/ibexa/v2/content/objects{?remoteId}",
10-
"_media-type": ""
9+
"_media-type": "",
10+
"_href": "\/api\/ibexa\/v2\/content\/objects{?remoteId}"
1111
},
12-
"contentTypeByIdentifier": {
13-
"_href": "/api/ibexa/v2/content/types{?identifier}",
14-
"_media-type": ""
12+
"contentTypes": {
13+
"_media-type": "application\/vnd.ibexa.api.ContentTypeInfoList+json",
14+
"_href": "\/api\/ibexa\/v2\/content\/types"
1515
},
16-
"contentTypeGroupByIdentifier": {
17-
"_href": "/api/ibexa/v2/content/typegroups{?identifier}",
18-
"_media-type": ""
16+
"contentTypeByIdentifier": {
17+
"_media-type": "",
18+
"_href": "\/api\/ibexa\/v2\/content\/types{?identifier}"
1919
},
2020
"contentTypeGroups": {
21-
"_href": "/api/ibexa/v2/content/typegroups",
22-
"_media-type": "application/vnd.ibexa.api.ContentTypeGroupList+json"
21+
"_media-type": "application\/vnd.ibexa.api.ContentTypeGroupList+json",
22+
"_href": "\/api\/ibexa\/v2\/content\/typegroups"
2323
},
24-
"contentTypes": {
25-
"_href": "/api/ibexa/v2/content/types",
26-
"_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json"
27-
},
28-
"createSession": {
29-
"_href": "/api/ibexa/v2/user/sessions",
30-
"_media-type": "application/vnd.ibexa.api.UserSession+json"
24+
"contentTypeGroupByIdentifier": {
25+
"_media-type": "",
26+
"_href": "\/api\/ibexa\/v2\/content\/typegroups{?identifier}"
3127
},
32-
"globalUrlAliases": {
33-
"_href": "/api/ibexa/v2/content/urlaliases",
34-
"_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json"
28+
"users": {
29+
"_media-type": "application\/vnd.ibexa.api.UserRefList+json",
30+
"_href": "\/api\/ibexa\/v2\/user\/users"
3531
},
36-
"locationByPath": {
37-
"_href": "/api/ibexa/v2/content/locations{?locationPath}",
38-
"_media-type": ""
32+
"usersByRoleId": {
33+
"_media-type": "application\/vnd.ibexa.api.UserRefList+json",
34+
"_href": "\/api\/ibexa\/v2\/user\/users{?roleId}"
3935
},
40-
"locationByRemoteId": {
41-
"_href": "/api/ibexa/v2/content/locations{?remoteId}",
42-
"_media-type": ""
36+
"usersByRemoteId": {
37+
"_media-type": "application\/vnd.ibexa.api.UserRefList+json",
38+
"_href": "\/api\/ibexa\/v2\/user\/users{?remoteId}"
4339
},
44-
"objectStateGroups": {
45-
"_href": "/api/ibexa/v2/content/objectstategroups",
46-
"_media-type": "application/vnd.ibexa.api.ObjectStateGroupList+json"
40+
"usersByEmail": {
41+
"_media-type": "application\/vnd.ibexa.api.UserRefList+json",
42+
"_href": "\/api\/ibexa\/v2\/user\/users{?email}"
4743
},
48-
"objectStates": {
49-
"_href": "/api/ibexa/v2/content/objectstategroups/{objectStateGroupId}/objectstates",
50-
"_media-type": "application/vnd.ibexa.api.ObjectStateList+json"
44+
"usersByLogin": {
45+
"_media-type": "application\/vnd.ibexa.api.UserRefList+json",
46+
"_href": "\/api\/ibexa\/v2\/user\/users{?login}"
5147
},
5248
"roles": {
53-
"_href": "/api/ibexa/v2/user/roles",
54-
"_media-type": "application/vnd.ibexa.api.RoleList+json"
49+
"_media-type": "application\/vnd.ibexa.api.RoleList+json",
50+
"_href": "\/api\/ibexa\/v2\/user\/roles"
5551
},
5652
"rootLocation": {
57-
"_href": "/api/ibexa/v2/content/locations/1/2",
58-
"_media-type": "application/vnd.ibexa.api.Location+json"
53+
"_media-type": "application\/vnd.ibexa.api.Location+json",
54+
"_href": "\/api\/ibexa\/v2\/content\/locations\/1\/2"
55+
},
56+
"rootUserGroup": {
57+
"_media-type": "application\/vnd.ibexa.api.UserGroup+json",
58+
"_href": "\/api\/ibexa\/v2\/user\/groups\/1\/5"
5959
},
6060
"rootMediaFolder": {
61-
"_href": "/api/ibexa/v2/content/locations/1/43",
62-
"_media-type": "application/vnd.ibexa.api.Location+json"
61+
"_media-type": "application\/vnd.ibexa.api.Location+json",
62+
"_href": "\/api\/ibexa\/v2\/content\/locations\/1\/43"
6363
},
64-
"rootUserGroup": {
65-
"_href": "/api/ibexa/v2/user/groups/1/5",
66-
"_media-type": "application/vnd.ibexa.api.UserGroup+json"
64+
"locationByRemoteId": {
65+
"_media-type": "",
66+
"_href": "\/api\/ibexa\/v2\/content\/locations{?remoteId}"
6767
},
68-
"sections": {
69-
"_href": "/api/ibexa/v2/content/sections",
70-
"_media-type": "application/vnd.ibexa.api.SectionList+json"
68+
"locationByPath": {
69+
"_media-type": "",
70+
"_href": "\/api\/ibexa\/v2\/content\/locations{?locationPath}"
7171
},
7272
"trash": {
73-
"_href": "/api/ibexa/v2/content/trash",
74-
"_media-type": "application/vnd.ibexa.api.Trash+json"
73+
"_media-type": "application\/vnd.ibexa.api.Trash+json",
74+
"_href": "\/api\/ibexa\/v2\/content\/trash"
7575
},
76-
"urlWildcards": {
77-
"_href": "/api/ibexa/v2/content/urlwildcards",
78-
"_media-type": "application/vnd.ibexa.api.UrlWildcardList+json"
79-
},
80-
"users": {
81-
"_href": "/api/ibexa/v2/user/users",
82-
"_media-type": "application/vnd.ibexa.api.UserRefList+json"
76+
"sections": {
77+
"_media-type": "application\/vnd.ibexa.api.SectionList+json",
78+
"_href": "\/api\/ibexa\/v2\/content\/sections"
8379
},
8480
"views": {
85-
"_href": "/api/ibexa/v2/views",
86-
"_media-type": "application/vnd.ibexa.api.RefList+json"
81+
"_media-type": "application\/vnd.ibexa.api.RefList+json",
82+
"_href": "\/api\/ibexa\/v2\/views"
83+
},
84+
"objectStateGroups": {
85+
"_media-type": "application\/vnd.ibexa.api.ObjectStateGroupList+json",
86+
"_href": "\/api\/ibexa\/v2\/content\/objectstategroups"
87+
},
88+
"objectStates": {
89+
"_media-type": "application\/vnd.ibexa.api.ObjectStateList+json",
90+
"_href": "\/api\/ibexa\/v2\/content\/objectstategroups\/{objectStateGroupId}\/objectstates"
91+
},
92+
"globalUrlAliases": {
93+
"_media-type": "application\/vnd.ibexa.api.UrlAliasRefList+json",
94+
"_href": "\/api\/ibexa\/v2\/content\/urlaliases"
95+
},
96+
"urlWildcards": {
97+
"_media-type": "application\/vnd.ibexa.api.UrlWildcardList+json",
98+
"_href": "\/api\/ibexa\/v2\/content\/urlwildcards"
99+
},
100+
"createSession": {
101+
"_media-type": "application\/vnd.ibexa.api.UserSession+json",
102+
"_href": "\/api\/ibexa\/v2\/user\/sessions"
87103
},
88104
"refreshSession": {
89-
"_media-type": "application/vnd.ibexa.api.UserSession+json",
90-
"_href": "\/api\/ezp\/v2\/user\/sessions\/{sessionId}\/refresh"
105+
"_media-type": "application\/vnd.ibexa.api.UserSession+json",
106+
"_href": "\/api\/ibexa\/v2\/user\/sessions\/{sessionId}\/refresh"
107+
},
108+
"createToken": {
109+
"_media-type": "application\/vnd.ibexa.api.JWT+json",
110+
"_href": "\/api\/ibexa\/v2\/user\/token\/jwt"
91111
}
92112
}
93113
}

0 commit comments

Comments
 (0)