Created
January 29, 2020 14:14
-
-
Save bcvery1/f13da943aa537e53852cb5e6c5e513a5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GetPluginPairs gets a list of plugin pairs (each pair has a plugin and a plugin version). No body is required or | |
// expected for this endpoint. | |
// | |
// This endpoint will return an array of Plugin-PluginVersion pairs, under the key ". Here is an example return | |
// body: | |
// { | |
// pairs: [ | |
// { | |
// plugin: { | |
// id: 1, | |
// name: "My First Plugin", | |
// type: "fireAndForget", | |
// events: ["createShow"], | |
// created_date: 01-01-1970, | |
// }, | |
// plugin_version { | |
// id: 1, | |
// plugin_id: 1, | |
// asset_id: 4, | |
// name: "My First Plugin", | |
// status: "foo", | |
// can_parallel: true, | |
// created_date: 01-01-1970, | |
// } | |
// ] | |
// } | |
func (c PluginController) GetPluginPairs(u *user.User, w http.ResponseWriter, r *http.Request, route Route) { | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment