Managed API for Generic Connector by Adaptavist. You can read more about Managed APIs here.
This is ScriptRunner Connect runtime specific version of the Managed API (with sr-connect
suffix). If you want to use Managed API in any other runtime, have a look at the runtime agnostic version.
In ScriptRunner Connect a Managed API is constructed for you, but if you need to construct it manually, here's how you can do it:
import { GenericAppApi } from '@managed-api/generic-sr-connect';
export default async function() {
const api = new GenericAppApi('API_CONNECTION_ID');
}
Feel free to drop ideas, suggestions or improvements into our Slack community channel.
- 1.4.0
- Removed non-empty body from HEAD requests.
Copyright Adaptavist 2022 (c) All rights reserved