GitHub user bharos added a comment to the discussion: Custom REST APIs in 
Gravitino

When I check the configs, I do see this option:
`gravitino.server.rest.extensionPackages`
documented in 
https://gravitino.apache.org/docs/1.1.0/gravitino-server-config/#apache-gravitino-http-server-configuration

So I guess this is possible already, something like:

```
To add custom REST APIs:

1. Create a JAR with your custom APIs:
   @Path("/api/v1/custom")
   public class MyCustomAPI {
       @GET
       public Response myEndpoint() { ... }
   }

2. Place the JAR in Gravitino's classpath (e.g., libs/)

3. Configure gravitino.conf:
   gravitino.server.rest.extensionPackages = com.mycompany.gravitino.custom

4. Restart Gravitino
```

I guess that's what you're trying to do @adwaithadwaith  ?

GitHub link: 
https://github.com/apache/gravitino/discussions/9940#discussioncomment-15754170

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to