Add public api support #229

Closed
opened 2025-07-07 03:24:44 +00:00 by itzaname · 2 comments
Owner

Add a read only api that can be queried with an API token from the dev service. Call https://git.itzana.me/StrafesNET/protobufs/src/branch/master/dev.proto#L8 and it will return if the request can proceed or not. Authn/Authz is built in as well as rate limiting so just calling this method is all you need beyond roles.

Ideally, follow the pattern the public api established for how errors/data is formatted.

Add a read only api that can be queried with an API token from the dev service. Call https://git.itzana.me/StrafesNET/protobufs/src/branch/master/dev.proto#L8 and it will return if the request can proceed or not. Authn/Authz is built in as well as rate limiting so just calling this method is all you need beyond roles. Ideally, follow the pattern the public api established for how errors/data is formatted.
itzaname added the enhancementbackend labels 2025-07-07 03:24:44 +00:00
Owner

I've created a gRPC validator backend in #238, and the beginnings of a general purpose gRPC is in #241 at pkg/controller/maps.go, starting with just maps. This could be extended to mapfixes & submissions and used from the public api in the same way as the data-service gRPC.

I've created a gRPC validator backend in #238, and the beginnings of a general purpose gRPC is in #241 at `pkg/controller/maps.go`, starting with just maps. This could be extended to mapfixes & submissions and used from the public api in the same way as the data-service gRPC.
Quaternions added a new dependency 2025-07-26 05:01:55 +00:00
Quaternions self-assigned this 2025-07-26 05:06:03 +00:00
Quaternions added this to the Maps Migration project 2025-07-26 05:06:05 +00:00
Owner

This will provide the ability to fetch extended map metadata such as Creator and Date. I should implement this before I remove that information from the data-service, otherwise it is inaccessible from the public api.

This will provide the ability to fetch extended map metadata such as Creator and Date. I should implement this before I [remove that information from the data-service](https://git.itzana.me/StrafesNET/data-service/pulls/33), otherwise it is inaccessible from the public api.
Quaternions added a new dependency 2025-07-26 05:11:56 +00:00
Quaternions moved this to Cleanup in Maps Migration on 2025-07-26 05:13:04 +00:00
Quaternions referenced this issue from a commit 2025-08-06 06:07:14 +00:00
Quaternions referenced this issue from a commit 2025-08-06 06:08:31 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Reference: StrafesNET/maps-service#229