You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For each plugin, perhaps there could be an api plugin type which fetches a url defined by the plugin and get's the download url from that.
For example:
{
"downloads": [
{
"type": "api",
"goto": {
"api_url": "https://api.example.com/plugin/get/myplugin""id":".plugin.info.id"// Gets json data from the api_url"goto": {
"api_url": "https://api.example.com/plugin/get/files/{id}""url":".files[0].download_url"// Whenever the url property is defined, pap will use it as the download url
}
},
"filename": "plugin.jar"
}
]
}
Any other ways to implement this are welcome, especially parsing the data from the api, I'm not sure about a format to use.
The text was updated successfully, but these errors were encountered:
For each plugin, perhaps there could be an
api
plugin type which fetches a url defined by the plugin and get's the download url from that.For example:
Any other ways to implement this are welcome, especially parsing the data from the api, I'm not sure about a format to use.
The text was updated successfully, but these errors were encountered: