Comments (3)
Additional reference at https://docs.oasis-open.org/odata/odata/v4.01/cs01/part2-url-conventions/odata-v4.01-cs01-part2-url-conventions.html#sec_AddressingReferencesbetweenEntities
Resource paths addressing a single related entity reference can be used in DELETE requests to unrelate two entities. In OData 4.01, this includes resource paths that identify an individual entity reference within a related collection by key. In OData 4.0, resource paths addressing a collection of references MUST be followed by the system query option $id in order to identify a single entity reference within the collection to be removed. The entity-id specified by $id may be expressed absolute or relative to the request URL. For details see [OData-Protocol].
Example 29: three ways of unrelating Categories(1) and Products(0); the second option is supported only in OData 4.01
DELETE http://host/service/Categories(1)/Products/$ref?$id=../../Products(0)
DELETE http://host/service/Categories(1)/Products(0)/$ref
DELETE http://host/service/Products(0)/Category/$ref
from openapi.net.odata.
Related Issues (20)
- Add the ability to change the request or response body content type based on an annotation HOT 9
- /sites/{hostname}:/{relative-path} missing in OpenAPI description
- POST not found for /onenote/sectionGroups/{id}/sectionGroups
- PUT not found for /policies/crossTenantAccessPolicy/partners/{ID}/identitySynchronization
- Add support for alternate keys on navigation properties HOT 3
- Alternate keys are duplicated across paths in the same segment are also have alternate keys.
- Bitwise/flagged enums information
- Incorrect request body schema for PUT '/servicePrincipals/{servicePrincipal-id}/synchronization/secrets' HOT 1
- Bound operations not appended to non-contained navigation property paths with ExplicitBinding annotations
- Add schema to content types of stream properties that are annotated with a collection of acceptable media types
- [Feature] Retrieve complex properties of derived types
- [Investigate] Investigate growth of paths in `drives` API when composable functions are supported HOT 1
- [Fix] Update `operationId`s of navigation property paths with OData type cast segments
- [Feature] Generate navigation property paths defined in nested complex properties
- Add support for bulk update
- Expanding navigation properties on alternate keys HOT 2
- add dynamicRef/generic support for collections when openapi 3.1 is supported HOT 1
- Collections of primitive types should be nullable HOT 2
- nullability information for properties that are collections of complex or entity types is inconsistent HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openapi.net.odata.