-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1025f99
commit 03c6882
Showing
1 changed file
with
80 additions
and
60 deletions.
There are no files selected for viewing
140 changes: 80 additions & 60 deletions
140
docs/api/rest_api/rest_api_reference/input/examples/GET/Root.json.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,113 @@ | ||
{ | ||
"Root": { | ||
"_media-type": "application/vnd.ibexa.api.Root+json", | ||
"_media-type": "application\/vnd.ibexa.api.Root+json", | ||
"content": { | ||
"_href": "/api/ibexa/v2/content/objects", | ||
"_media-type": "" | ||
"_media-type": "", | ||
"_href": "\/api\/ibexa\/v2\/content\/objects" | ||
}, | ||
"contentByRemoteId": { | ||
"_href": "/api/ibexa/v2/content/objects{?remoteId}", | ||
"_media-type": "" | ||
"_media-type": "", | ||
"_href": "\/api\/ibexa\/v2\/content\/objects{?remoteId}" | ||
}, | ||
"contentTypeByIdentifier": { | ||
"_href": "/api/ibexa/v2/content/types{?identifier}", | ||
"_media-type": "" | ||
"contentTypes": { | ||
"_media-type": "application\/vnd.ibexa.api.ContentTypeInfoList+json", | ||
"_href": "\/api\/ibexa\/v2\/content\/types" | ||
}, | ||
"contentTypeGroupByIdentifier": { | ||
"_href": "/api/ibexa/v2/content/typegroups{?identifier}", | ||
"_media-type": "" | ||
"contentTypeByIdentifier": { | ||
"_media-type": "", | ||
"_href": "\/api\/ibexa\/v2\/content\/types{?identifier}" | ||
}, | ||
"contentTypeGroups": { | ||
"_href": "/api/ibexa/v2/content/typegroups", | ||
"_media-type": "application/vnd.ibexa.api.ContentTypeGroupList+json" | ||
"_media-type": "application\/vnd.ibexa.api.ContentTypeGroupList+json", | ||
"_href": "\/api\/ibexa\/v2\/content\/typegroups" | ||
}, | ||
"contentTypes": { | ||
"_href": "/api/ibexa/v2/content/types", | ||
"_media-type": "application/vnd.ibexa.api.ContentTypeInfoList+json" | ||
}, | ||
"createSession": { | ||
"_href": "/api/ibexa/v2/user/sessions", | ||
"_media-type": "application/vnd.ibexa.api.UserSession+json" | ||
"contentTypeGroupByIdentifier": { | ||
"_media-type": "", | ||
"_href": "\/api\/ibexa\/v2\/content\/typegroups{?identifier}" | ||
}, | ||
"globalUrlAliases": { | ||
"_href": "/api/ibexa/v2/content/urlaliases", | ||
"_media-type": "application/vnd.ibexa.api.UrlAliasRefList+json" | ||
"users": { | ||
"_media-type": "application\/vnd.ibexa.api.UserRefList+json", | ||
"_href": "\/api\/ibexa\/v2\/user\/users" | ||
}, | ||
"locationByPath": { | ||
"_href": "/api/ibexa/v2/content/locations{?locationPath}", | ||
"_media-type": "" | ||
"usersByRoleId": { | ||
"_media-type": "application\/vnd.ibexa.api.UserRefList+json", | ||
"_href": "\/api\/ibexa\/v2\/user\/users{?roleId}" | ||
}, | ||
"locationByRemoteId": { | ||
"_href": "/api/ibexa/v2/content/locations{?remoteId}", | ||
"_media-type": "" | ||
"usersByRemoteId": { | ||
"_media-type": "application\/vnd.ibexa.api.UserRefList+json", | ||
"_href": "\/api\/ibexa\/v2\/user\/users{?remoteId}" | ||
}, | ||
"objectStateGroups": { | ||
"_href": "/api/ibexa/v2/content/objectstategroups", | ||
"_media-type": "application/vnd.ibexa.api.ObjectStateGroupList+json" | ||
"usersByEmail": { | ||
"_media-type": "application\/vnd.ibexa.api.UserRefList+json", | ||
"_href": "\/api\/ibexa\/v2\/user\/users{?email}" | ||
}, | ||
"objectStates": { | ||
"_href": "/api/ibexa/v2/content/objectstategroups/{objectStateGroupId}/objectstates", | ||
"_media-type": "application/vnd.ibexa.api.ObjectStateList+json" | ||
"usersByLogin": { | ||
"_media-type": "application\/vnd.ibexa.api.UserRefList+json", | ||
"_href": "\/api\/ibexa\/v2\/user\/users{?login}" | ||
}, | ||
"roles": { | ||
"_href": "/api/ibexa/v2/user/roles", | ||
"_media-type": "application/vnd.ibexa.api.RoleList+json" | ||
"_media-type": "application\/vnd.ibexa.api.RoleList+json", | ||
"_href": "\/api\/ibexa\/v2\/user\/roles" | ||
}, | ||
"rootLocation": { | ||
"_href": "/api/ibexa/v2/content/locations/1/2", | ||
"_media-type": "application/vnd.ibexa.api.Location+json" | ||
"_media-type": "application\/vnd.ibexa.api.Location+json", | ||
"_href": "\/api\/ibexa\/v2\/content\/locations\/1\/2" | ||
}, | ||
"rootUserGroup": { | ||
"_media-type": "application\/vnd.ibexa.api.UserGroup+json", | ||
"_href": "\/api\/ibexa\/v2\/user\/groups\/1\/5" | ||
}, | ||
"rootMediaFolder": { | ||
"_href": "/api/ibexa/v2/content/locations/1/43", | ||
"_media-type": "application/vnd.ibexa.api.Location+json" | ||
"_media-type": "application\/vnd.ibexa.api.Location+json", | ||
"_href": "\/api\/ibexa\/v2\/content\/locations\/1\/43" | ||
}, | ||
"rootUserGroup": { | ||
"_href": "/api/ibexa/v2/user/groups/1/5", | ||
"_media-type": "application/vnd.ibexa.api.UserGroup+json" | ||
"locationByRemoteId": { | ||
"_media-type": "", | ||
"_href": "\/api\/ibexa\/v2\/content\/locations{?remoteId}" | ||
}, | ||
"sections": { | ||
"_href": "/api/ibexa/v2/content/sections", | ||
"_media-type": "application/vnd.ibexa.api.SectionList+json" | ||
"locationByPath": { | ||
"_media-type": "", | ||
"_href": "\/api\/ibexa\/v2\/content\/locations{?locationPath}" | ||
}, | ||
"trash": { | ||
"_href": "/api/ibexa/v2/content/trash", | ||
"_media-type": "application/vnd.ibexa.api.Trash+json" | ||
"_media-type": "application\/vnd.ibexa.api.Trash+json", | ||
"_href": "\/api\/ibexa\/v2\/content\/trash" | ||
}, | ||
"urlWildcards": { | ||
"_href": "/api/ibexa/v2/content/urlwildcards", | ||
"_media-type": "application/vnd.ibexa.api.UrlWildcardList+json" | ||
}, | ||
"users": { | ||
"_href": "/api/ibexa/v2/user/users", | ||
"_media-type": "application/vnd.ibexa.api.UserRefList+json" | ||
"sections": { | ||
"_media-type": "application\/vnd.ibexa.api.SectionList+json", | ||
"_href": "\/api\/ibexa\/v2\/content\/sections" | ||
}, | ||
"views": { | ||
"_href": "/api/ibexa/v2/views", | ||
"_media-type": "application/vnd.ibexa.api.RefList+json" | ||
"_media-type": "application\/vnd.ibexa.api.RefList+json", | ||
"_href": "\/api\/ibexa\/v2\/views" | ||
}, | ||
"objectStateGroups": { | ||
"_media-type": "application\/vnd.ibexa.api.ObjectStateGroupList+json", | ||
"_href": "\/api\/ibexa\/v2\/content\/objectstategroups" | ||
}, | ||
"objectStates": { | ||
"_media-type": "application\/vnd.ibexa.api.ObjectStateList+json", | ||
"_href": "\/api\/ibexa\/v2\/content\/objectstategroups\/{objectStateGroupId}\/objectstates" | ||
}, | ||
"globalUrlAliases": { | ||
"_media-type": "application\/vnd.ibexa.api.UrlAliasRefList+json", | ||
"_href": "\/api\/ibexa\/v2\/content\/urlaliases" | ||
}, | ||
"urlWildcards": { | ||
"_media-type": "application\/vnd.ibexa.api.UrlWildcardList+json", | ||
"_href": "\/api\/ibexa\/v2\/content\/urlwildcards" | ||
}, | ||
"createSession": { | ||
"_media-type": "application\/vnd.ibexa.api.UserSession+json", | ||
"_href": "\/api\/ibexa\/v2\/user\/sessions" | ||
}, | ||
"refreshSession": { | ||
"_media-type": "application/vnd.ibexa.api.UserSession+json", | ||
"_href": "\/api\/ezp\/v2\/user\/sessions\/{sessionId}\/refresh" | ||
"_media-type": "application\/vnd.ibexa.api.UserSession+json", | ||
"_href": "\/api\/ibexa\/v2\/user\/sessions\/{sessionId}\/refresh" | ||
}, | ||
"createToken": { | ||
"_media-type": "application\/vnd.ibexa.api.JWT+json", | ||
"_href": "\/api\/ibexa\/v2\/user\/token\/jwt" | ||
} | ||
} | ||
} |