Skip to content

Support for API cape service info fetching #140

@xsyanic

Description

@xsyanic

Checklist

  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise.
  • This issue contains only one feature request/enhancement.

Description

We should be able to add "api" url in fabric.mod.json and config/cape-provider.json5 like

{
  "id": "test",
  "api": "https://somewhere/api.json"
} 

Which would have the cape service's details that we usually put directly in config such as-
uriTemplate, animated, textureResolverId, changeCapeUrl, homepage, antiFeatures, rateLimitedReqPerSec

so it can be updated easily without touching the config, as if the servers changes by chance, it would not create problems.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions