Skip to content

Added apiHandler#3

Merged
scruzin merged 1 commit intomasterfrom
api-method
Mar 12, 2024
Merged

Added apiHandler#3
scruzin merged 1 commit intomasterfrom
api-method

Conversation

@scruzin
Copy link
Collaborator

@scruzin scruzin commented Feb 27, 2024

This is more code copied from VidGrind.
A few of the errors have been wrapped, but otherwise it is unchanged.


// apiHandler handles API requests which take the form:
//
// /api/operation/property/value
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make some comment about what the path looks like after /value? ie chunk or even just "/.."

}
return
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know what the future api routes might look like? Is it worth adding in extra cases which return "not yet implemented"

@scruzin scruzin merged commit 42dfc46 into master Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants