Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
c8b2c69
IBX-8369: languages bookmarks calendar cart
tischsoic Aug 6, 2024
790d241
IBX-8369: orders
tischsoic Aug 6, 2024
8ac2715
IBX-8369: shipping shipments
tischsoic Aug 6, 2024
fd029f0
IBX-8369: payment-methods
tischsoic Aug 6, 2024
9ca468f
IBX-8369: corporate
tischsoic Aug 7, 2024
b714403
IBX-8369: segments segment-groups
tischsoic Aug 7, 2024
5a1660b
IBX-8369: taxonomy
tischsoic Aug 7, 2024
917bfc5
activity-log-group
tischsoic Aug 7, 2024
2e6a7ce
IBX-8369: services
tischsoic Aug 7, 2024
c6f5a4f
IBX-8369: product-catalogs
tischsoic Aug 7, 2024
4299267
IBX-8369: product-currency
tischsoic Aug 7, 2024
421033e
IBX-8369: product-regions
tischsoic Aug 7, 2024
c55d1fe
IBX-8369: product-attributetypes
tischsoic Aug 7, 2024
f52f938
IBX-8369: product-attributegroups
tischsoic Aug 7, 2024
7c929d9
IBX-8369: product-attributes
tischsoic Aug 7, 2024
8257357
IBX-8369: product-customergroups
tischsoic Aug 7, 2024
6d55d21
IBX-8369: product-producttypes
tischsoic Aug 7, 2024
1663492
IBX-8369: product-products
tischsoic Aug 8, 2024
df03559
IBX-8369: product-productvariants
tischsoic Aug 8, 2024
250a256
IBX-8369: product-productvariant
tischsoic Aug 8, 2024
a7f5b75
IBX-8369: product-vat
tischsoic Aug 8, 2024
7d17b7d
IBX-8369: user-current
tischsoic Aug 8, 2024
0b171d7
IBX-8369: user-types
tischsoic Aug 8, 2024
c7657af
IBX-8369: user-users
tischsoic Aug 8, 2024
97ceb57
IBX-8369: user-roles
tischsoic Aug 8, 2024
ad52c06
IBX-8369: user-policies
tischsoic Aug 8, 2024
98c49e0
IBX-8369: user-sessions
tischsoic Aug 8, 2024
1451698
IBX-8369: user-token
tischsoic Aug 8, 2024
8337f57
IBX-8369: content-objects
tischsoic Aug 8, 2024
92dafb8
IBX-8369: content-types
tischsoic Aug 8, 2024
409d745
IBX-8369: objectstategroups
tischsoic Aug 8, 2024
168350c
IBX-8369: content-locations
tischsoic Aug 8, 2024
4e7ac79
IBX-8369: content-typegroups
tischsoic Aug 8, 2024
f3afd86
IBX-8369: content-views
tischsoic Aug 8, 2024
f58827d
IBX-8369: content-sections
tischsoic Aug 8, 2024
0b61272
IBX-8369: content-trash
tischsoic Aug 8, 2024
dbf1baf
IBX-8369: content-urlaliasses
tischsoic Aug 8, 2024
700bec7
IBX-8369: content-urlwildcards
tischsoic Aug 8, 2024
635554c
IBX-8369: commerce
tischsoic Aug 9, 2024
2f55790
IBX-8369: views
tischsoic Aug 9, 2024
53cf549
IBX-8369: root
tischsoic Aug 9, 2024
b335773
IBX-8369: product-producttypes remove nonexistent example
tischsoic Aug 9, 2024
5ba8c1e
IBX-8369: fix empty properties for raml2html
tischsoic Aug 9, 2024
638dae6
add two required attributes to types
tischsoic Aug 11, 2024
203082c
uncomment xml examples
tischsoic Aug 11, 2024
5e6a8a0
Add missing xml name changes
tischsoic Aug 22, 2024
bd50579
Revert copy operations (as commented)
tischsoic Aug 11, 2024
e2ac253
Remove TODOs from ibexa-types
tischsoic Aug 11, 2024
22c9a66
Revert _media-type additions
tischsoic Aug 11, 2024
4db2741
uncomment unused types from ibexa-types.raml
tischsoic Aug 9, 2024
d6bb69f
cleanup ibexa.raml
tischsoic Aug 9, 2024
33e2b70
uncomment copy, pusblish, swap, move custom verbs
tischsoic Aug 12, 2024
bff4d18
uncomment Asset & assetMetadata types
tischsoic Aug 12, 2024
723a582
uncomment ContentImageVariation, PasswordValidationContext, Plural
tischsoic Aug 12, 2024
e990d85
uncomment Party type
tischsoic Aug 12, 2024
086d018
generated REST documentation
tischsoic Aug 12, 2024
7b2a957
REST API Ref: describe wrappers
adriendupuis Sep 24, 2024
7a2a568
REST API Ref: edit wrappers' description
adriendupuis Sep 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"fieldDefinitionIdentifier": "intro",
"languageCode": "eng-GB",
"fieldTypeIdentifier": "ezrichtext",
"fieldValue":
"fieldValue":
{
"xml": "<section xmlns=\"http://ibexa.co/namespaces/ezpublish5/xhtml5/edit\"><p>draft draft</p></section>"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
"ParentLocation": {
"_href": "/api/ibexa/v2/content/locations/1/59"
},
"priority": "0",
"hidden": false,
"sortField": "PATH",
"sortOrder": "ASC"

"priority": "0",
"hidden": false,
"sortField": "PATH",
"sortOrder": "ASC"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ObjectStateGroup": {
"ObjectStateGroupUpdate": {
"names": {
"value": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<ObjectStateGroup>
<ObjectStateGroupUpdate>
<names>
<value languageCode="eng-GB">New Custom State name</value>
</names>
</ObjectStateGroup>
</ObjectStateGroupUpdate>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ObjectStateGroup": {
"ObjectStateUpdate": {
"names": {
"value": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<ObjectStateCreate>
<ObjectStateUpdate>
<priority>3</priority>
<defaultLanguageCode>eng-GB</defaultLanguageCode>
<names>
<value languageCode="eng-GB">New Object State name</value>
</names>
</ObjectStateCreate>
</ObjectStateUpdate>
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
{
"ContentTypeUpdate": {
"names": {
"value": [ {
"_languageCode": "eng-GB",
"#text": "Updated content type name"
} ]
"value": [
{
"_languageCode": "eng-GB",
"#text": "Updated content type name"
}
]
},
"descriptions": {
"value": [ {
"_languageCode": "eng-GB",
"#text": "This is an updated content type description"
} ]
"value": [
{
"_languageCode": "eng-GB",
"#text": "This is an updated content type description"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"UrlWildCardCreate": {
"URLWildcardCreate": {
"sourceUrl": "/api/ibexa/v2/content/location/2",
"destinationUrl": "/api/ibexa/v2/content/location/59",
"forward": true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"PaymentMethodUpdateStructParser": {
"PaymentMethodUpdateStruct": {
"names": {
"eng-GB": "Bank transfer (updated)"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<PaymentMethodUpdateStructParser>
<PaymentMethodUpdateStruct>
<names>
<eng-GB>Bank transfer (updated)</eng-GB>
</names>
</PaymentMethodUpdateStructParser>
</PaymentMethodUpdateStruct>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"AttributeGroupCreate": {
"identifier": "attr_group_test",
"names": {
"eng-GB": "Attribute Group Test"
"eng-GB": "Attribute Group Test"
},
"position": 0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"type": "checkbox",
"group": "attr_group_test",
"names": {
"eng-GB": "Attribute"
"eng-GB": "Attribute"
},
"descriptions": {
"eng-GB": "description"
"eng-GB": "description"
},
"position": 0,
"options": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"AttributeUpdate": {
"identifier": "attr_group",
"names": {
"eng-GB": "Attribute Group"
},
"descriptions": {
"eng-GB": "description"
"eng-GB": "description"
},
"position": 0,
"options": {
"position": 0,
"options": {
"foo": "bar"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"names": {
"eng-GB": "Customer Group"
},
"descriptions:": {
"descriptions": {
"eng-GB": "Customer Group description"
},
"global_price_rate": "1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ProductUpdate": {
"ContentUpdate": {
"ContentUpdate": {
"__url": "/api/ibexa/v2/content/objects/67",
"fields": {
"field": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
{
"RoleAssignInput": {
"Role": {
"_href": "/api/ibexa/v2/user/roles/2",
"media-type": "application/vnd.ibexa.api.RoleAssignInput+json",
"self-closing": "true"
"_href": "/api/ibexa/v2/user/roles/2"
},
"Limitation": {
"identifier": "Section",
"limitation": {
"_identifier": "Section",
"values": {
"ref": [
{
"_href": "/api/ibexa/v2/content/sections/1",
"media-type": "application/vnd.ibexa.api.Section+json",
"self-closing": "true"
"_media-type": "application/vnd.ibexa.api.Section+json"
},
{
"_href": "/api/ibexa/v2/content/sections/4",
"media-type": "application/vnd.ibexa.api.Section+json",
"self-closing": "true"
"_media-type": "application/vnd.ibexa.api.Section+json"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
{
"RoleAssignInput": {
"Role": {
"_href": "/api/ibexa/v2/user/roles/2",
"_media-type": "application/vnd.ibexa.api.RoleAssignInput+xml",
"self-closing": "true"
"_href": "/api/ibexa/v2/user/roles/2"
},
"limitation": {
"_identifier": "Section",
"values": {
"ref": [
{
"_href": "/api/ibexa/v2/content/sections/1",
"media-type": "application/vnd.ibexa.api.Section+xml",
"self-closing": "true"
"_href": "/api/ibexa/v2/content/sections/1"
},
{
"_href": "/api/ibexa/v2/content/sections/2",
"_media-type": "application/vnd.ibexa.api.Section+xml",
"self-closing": "true"
"_href": "/api/ibexa/v2/content/sections/2"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ displayName: Monitoring activity
type: string
description: |
Maximum number of returned log groups (default: <code>limit=25</code>)

Example: <code>limit=10</code>
filter:
type: array
description: |
List of filters (no filter by default).
A filter is a type and parameters depending on this type.

- type: `object_class`, parameter: `class` (a FQCN)
- type: `action`, parameter: `value` (the action)
- type: `logged_at`, parameters: `value` and `operator`
Expand All @@ -40,14 +40,14 @@ displayName: Monitoring activity
| Less than or equal | `<=` |
| Greater than | `>` |
| Greater than or equal | `>=` |

Example: `filter[0][type]=object_class&filter[0][class]=Ibexa\Contracts\Core\Repository\Values\Content\Content&filter[1][type]=action&filter[1][value]=create&filter[2][type]=logged_at&filter[2][value]=-1hour&filter[2][operator]=>=`
sort:
type: array
description: |
List of sort clause and direction pairs
(default: <code>sort[0][type]=logged_at&sort[0][direction]=ASC</code>)

Example: <code>sort[0][type]=logged_at&sort[0][direction]=DESC</code>
responses:
200:
Expand All @@ -56,7 +56,7 @@ displayName: Monitoring activity
type: ActivityLogGroupList
example: !include examples/activityloggroup/GET/ActivityLogGroupList.xml.example
application/vnd.ibexa.api.ActivityLogGroupList+json:
type: ActivityLogGroupList
type: ActivityLogGroupListWrapper
example: !include examples/activityloggroup/GET/ActivityLogGroupList.json.example
401:
description: Error - the user is not authorized to list activities.
Expand All @@ -79,7 +79,7 @@ displayName: Monitoring activity
type: ActivityLogGroupListInput
example: !include examples/activityloggroup/POST/ActivityLogGroupListInput.xml.example
application/vnd.ibexa.api.ActivityLogGroupListInput+json:
type: ActivityLogGroupListInput
type: ActivityLogGroupListInputWrapper
example: !include examples/activityloggroup/POST/ActivityLogGroupListInput.json.example
responses:
200:
Expand All @@ -88,7 +88,7 @@ displayName: Monitoring activity
type: ActivityLogGroupList
example: !include examples/activityloggroup/POST/ActivityLogGroupList.xml.example
application/vnd.ibexa.api.ActivityLogGroupList+json:
type: ActivityLogGroupList
type: ActivityLogGroupListWrapper
example: !include examples/activityloggroup/POST/ActivityLogGroupList.json.example
401:
description: Error - the user is not authorized to list activities.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ get:
type: BookmarkList
example: !include examples/bookmark/GET/BookmarkList.xml.example
application/vnd.ibexa.api.BookmarkList+json:
type: BookmarkList
type: BookmarkListWrapper
example: !include examples/bookmark/GET/BookmarkList.json.example
401:
description: Error - the user is not authorized to list bookmarks.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ displayName: Calendar
type: EventList
example: !include examples/calendar/event/GET/EventList.xml.example
application/vnd.ibexa.api.EventList+json:
type: EventList
type: EventListWrapper
example: !include examples/calendar/event/GET/EventList.json.example
/grouped-by-day:
get:
Expand Down Expand Up @@ -73,7 +73,7 @@ displayName: Calendar
type: EventGroupList
example: !include examples/calendar/event/grouped-by-day/GET/EventGroupList.xml.example
application/vnd.ibexa.api.EventGroupList+json:
type: EventGroupList
type: EventGroupListWrapper
example: !include examples/calendar/event/grouped-by-day/GET/EventGroupList.json.example
/{eventType}:
post:
Expand All @@ -86,10 +86,10 @@ displayName: Calendar
application/vnd.ibexa.api.calendar.future_hide.UnscheduleAction+json
body:
application/vnd.ibexa.api.calendar.future_publication.UnscheduleAction+json:
type: UnscheduleAction
type: UnscheduleActionWrapper
example: !include examples/calendar/event/eventType/POST/future_publication.UnscheduleAction.json.example
application/vnd.ibexa.api.calendar.future_hide.UnscheduleAction+json:
type: UnscheduleAction
type: UnscheduleActionWrapper
responses:
204:
description: No Content - the action has been unscheduled.
Loading
Loading