Skip to content

Change the names of the RESTful APIs. #120

@FegelSamuel

Description

@FegelSamuel

Description:
Inside of the server/api/ directory, change the names of something like server/api/Dashboard/dashboards.get.ts to something like:
server/api/Dashboard/index.get.ts so your API call doesn't need to call dashboards and can just call Dashboard. However, change the names of files that require input to something else, such as server/api/Dashboard/dashboard.get.ts to server/api/Dashboard/[id].get.ts (Yes, there is a difference between dashboard and dashboards GET request).

For more information, you can ask Taz or myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions