Skip to content

Add documentation on how to specify associations on the creation/modification of entities in a single HTTP invokation [DATAREST-1036] #1403

Description

@spring-projects-issues

Aaron Loes opened DATAREST-1036 and commented

There is supposedly a means of creating an entity and associations with other entities in a single HTTP call. However, there are no examples of how to do this in the documentation or any of the linked guides.

In an old bug report (DATAREST-327), i was informed that this could be done by providing the url of the entity to be associated as the value of the field for single references and in a list for multiple association for the purposes of situations where there are non-optional relationships to other resources. That bug report is old and its likely that the method of specifying associations during entity creation has since changed.

Please add documentation that shows examples of how to structure the payload to include associations to already created entities or respond if this is no longer a feature of SD Rest.

Thank you


No further details from DATAREST-1036

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions