Skip to content

Commit 22c9a66

Browse files
committed
Revert _media-type additions
1 parent e2ac253 commit 22c9a66

File tree

12 files changed

+11
-24
lines changed

12 files changed

+11
-24
lines changed

docs/api/rest_api/rest_api_reference/input/examples/content/objects/POST/ContentCreate.json.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
},
66
"mainLanguageCode": "eng-GB",
77
"LocationCreate": {
8-
"_media-type": "application/vnd.ibexa.api.LocationCreate",
98
"ParentLocation": {
109
"_href": "/api/ibexa/v2/content/locations/1/2"
1110
},

docs/api/rest_api/rest_api_reference/input/examples/content/objects/content_id/locations/POST/LocationCreate.json.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"LocationCreate": {
3-
"_media-type": "application/vnd.ibexa.api.LocationCreate",
43
"ParentLocation": {
54
"_href": "/api/ibexa/v2/content/locations/1/59"
65
},
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"ContentTypeUpdate": {
3-
"_media-type": "application/vnd.ibexa.api.ContentTypeUpdate",
43
"defaultAlwaysAvailable": "true"
54
}
65
}

docs/api/rest_api/rest_api_reference/input/examples/content/types/content_type_id/draft/PATCH/ContentTypeUpdate.json.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"ContentTypeUpdate": {
3-
"_media-type": "application/vnd.ibexa.api.ContentTypeUpdate",
43
"names": {
54
"value": [
65
{

docs/api/rest_api/rest_api_reference/input/examples/product/catalog/product/POST/ProductCreate.json.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
}
1111
},
1212
"LocationCreate": {
13-
"_media-type": "application/vnd.ibexa.api.LocationCreate",
1413
"ParentLocation": {
1514
"_href": "/api/ibexa/v2/content/locations/1/2"
1615
},

docs/api/rest_api/rest_api_reference/input/examples/user/groups/path/roles/POST/RoleAssignInput.json.example

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"RoleAssignInput": {
33
"Role": {
4-
"_href": "/api/ibexa/v2/user/roles/2",
5-
"_media-type": "application/vnd.ibexa.api.RoleAssignInput+json"
4+
"_href": "/api/ibexa/v2/user/roles/2"
65
},
76
"limitation": {
87
"_identifier": "Section",

docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/Session.json.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"Session": {
3-
"_media-type": "application/vnd.ibexa.api.Session",
43
"name": "eZSSID",
54
"identifier": "go327ij2cirpo59pb6rrv2a4el2",
65
"csrfToken": "23lkneri34ijajedfw39orj3j93",

docs/api/rest_api/rest_api_reference/input/examples/user/sessions/POST/SessionInput.json.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"SessionInput": {
3-
"_media-type": "application/vnd.ibexa.api.SessionInput",
43
"login": "admin",
54
"password": "secret"
65
}

docs/api/rest_api/rest_api_reference/input/examples/user/sessions/session_id/refresh/POST/Session.json.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"Session": {
3-
"_media-type": "application/vnd.ibexa.api.Session",
43
"name": "eZSSID",
54
"identifier": "go327ij2cirpo59pb6rrv2a4el2",
65
"csrfToken": "23lkneri34ijajedfw39orj3j93",

docs/api/rest_api/rest_api_reference/input/examples/user/token/jwt/POST/JWTInput.json.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"JWTInput": {
3-
"_media-type": "application/vnd.ibexa.api.JWTInput",
43
"username": "admin",
54
"password": "publish"
65
}

0 commit comments

Comments
 (0)