Create an API for integration with Zenith #4

Open
opened 2024-12-31 11:01:20 -05:00 by cswimr · 1 comment
Owner

We're still at a very early phase in the project, but we need to start working on a backend API. The only API endpoint we need right now is a POST or PUT endpoint for the game to send data to on server startup. After that, we should make more general APIs, like listing / retrieving Ships, Modules, Spinals, Turrets, etc.

We're still at a very early phase in the project, but we need to start working on a backend API. The only API endpoint we **need** right now is a `POST` or `PUT` endpoint for the game to send data to on server startup. After that, we should make more general APIs, like listing / retrieving Ships, Modules, Spinals, Turrets, etc.
cswimr self-assigned this 2024-12-31 11:01:21 -05:00
Author
Owner

Roblox's HTTPService has a pretty restrictive request size limit (somewhere between 650 KiB and 1,024 KiB), so we should accept split data on the POST/PUT endpoint. Not sure yet how we'd implement that, we need to research that. That's a far better solution though than having separate endpoints for each storable.

Roblox's HTTPService has a pretty restrictive request size limit (somewhere between 650 KiB and 1,024 KiB), so we should accept split data on the `POST`/`PUT` endpoint. Not sure yet how we'd implement that, we need to research that. That's a far better solution though than having separate endpoints for each storable.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Depends on
Reference
Zenith/ZenithInfo-Legacy#4
No description provided.