Skip to content

Use OData v4 URL conventions for addressing entities #90

Description

@kbarbounakis

The path of addressing an entity and all its descendants should follow OData v4 URL conventions:

/EntitySet(:Entity-Id)

serviceRouter should be updated to use path expressions following OData URL conventions e.g.

serviceRouter.get('/:entitySet\\(:id\\)', bindEntitySet(), getEntity());

instead of the REST-like path: serviceRouter.get('/:entitySet/:id', bindEntitySet(), getEntity());

or

serviceRouter.get('/:entitySet\\(:id\\)/:entityFunction', bindEntitySet(), getEntityFunction());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions