Skip to content

Make sure rest api openapi operation names are consistent #2501

@mschuwalow

Description

@mschuwalow

They are currently inconsistent, make them consistent.

Propose naming scheme (hypothetical example, not all of these exist):

GET /components
-> list_components
GET /components/:component_id
-> get_component
GET /envs/:env_id/components
-> list_components_in_environment
GET /envs/:env_id/components/:component_name
-> get_component_in_environment
GET /envs/:env_id/deployments/:deployment_id/components
-> list_components_in_deployment
GET /envs/:env_id/deployments/:deployment_id/components/:component_name
-> get_component_in_deployment
POST /envs/:env_id/components
-> create_component
PATCH /components/:component_id
-> update_component
DELETE /components/:component_id
-> delete_component (edited)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions