Skip to content

Validation Missing from API Endpoints #1123

Open
@martinpeck

Description

When calling the various POST endpoints it's possible to post a workspace service template payload to the register workspace template api, and vice versa. Neither call will return an error. Both will register a template that's not useful.

In both cases, the payload sent to these APIs has a resourceType property that could have been used to validate the payload.

Validation could be added, and an error could be returned when inappropriate payloads are posted to these APIs.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions