Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODATA-1214 #247

Merged
merged 2 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion docs/odata-protocol/odata-protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -2213,7 +2213,7 @@ <h4 id="11551-invoking-an-action"><a name="InvokinganAction" href="#InvokinganAc
<p>4.01 services MUST support invoking actions with no non-binding parameters and parameterless action imports both without a request body and with a request body representing no parameters, according to the particular format. Interoperable clients SHOULD always include a request body, even when invoking actions with no non-binding parameters and parameterless action imports.</p>
<p>If the action returns results, the client SHOULD use content type negotiation to request the results in the desired format, otherwise the default content type will be used.</p>
<p>The client can request whether any results from the action be returned using the <a href="#Preferencereturnrepresentationandreturnminimal"><code>return</code></a> preference.</p>
<p>Actions that create and return a single entity follow the rules for <a href="#CreateanEntity">entity creation</a> and return a <a href="#HeaderLocation"><code>Location</code></a> header that contains the edit URL or read URL of the created entity.</p>
<p>Actions that create and return a single entity follow the rules for <a href="#CreateanEntity">entity creation</a> and return a <a href="#HeaderLocation"><code>Location</code></a> header that contains the edit URL or read URL of the created entity. They MAY be annotated with the term <a href="https://github.com/oasis-tcs/odata-vocabularies/blob/master/vocabularies/Org.OData.Core.V1.md#Constructor"><code>Core.Constructor</code></a> defined in <a href="#ODataVocCore">OData-VocCore</a>.</p>
<p>If the action returns a value of type <code>Edm.Stream</code>, the response to the <code>POST</code> request follows the rules for <a href="#RequestingStreamProperties">requesting stream properties</a>.</p>
<p>Actions without a return type respond with <a href="#ResponseCode204NoContent"><code>204 No Content</code></a> on success.</p>
<p>To request processing of the action only if the binding parameter value, an entity or collection of entities, is unmodified, the client includes the <a href="#HeaderIfMatch"><code>If-Match</code></a> header with the latest known ETag value for the entity or collection of entities. The ETag value for a collection as a whole is transported in the <a href="#HeaderETag"><code>ETag</code></a> header of a collection response.</p>
Expand Down
4 changes: 3 additions & 1 deletion docs/odata-protocol/odata-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -5556,7 +5556,9 @@ using the [`return`](#Preferencereturnrepresentationandreturnminimal) preference
Actions that create and return a single entity follow the rules for
[entity creation](#CreateanEntity) and return a
[`Location`](#HeaderLocation) header that contains the edit URL or read URL of the
created entity.
created entity. They MAY be annotated with the term
[`Core.Constructor`](https://github.com/oasis-tcs/odata-vocabularies/blob/master/vocabularies/Org.OData.Core.V1.md#Constructor)
defined in [OData-VocCore](#ODataVocCore).

If the action returns a value of type `Edm.Stream`, the response to the `POST` request
follows the rules for [requesting stream properties](#RequestingStreamProperties).
Expand Down
4 changes: 3 additions & 1 deletion odata-protocol/11.5 Operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,9 @@ using the [`return`](#Preferencereturnrepresentationandreturnminimal) preference
Actions that create and return a single entity follow the rules for
[entity creation](#CreateanEntity) and return a
[`Location`](#HeaderLocation) header that contains the edit URL or read URL of the
created entity.
created entity. They MAY be annotated with the term
[`Core.Constructor`](https://github.com/oasis-tcs/odata-vocabularies/blob/master/vocabularies/Org.OData.Core.V1.md#Constructor)
defined in [OData-VocCore](#ODataVocCore).

If the action returns a value of type `Edm.Stream`, the response to the `POST` request
follows the rules for [requesting stream properties](#RequestingStreamProperties).
Expand Down
Loading