opal-scripts
Get OpalScript by name
Changed onReturns the OpalScript whose name exactly matches the given name. OpalScript names are not unique; when more than one script matches, the request fails and the script must be referenced by ID instead.
get/opal-scripts/name/{opal_script_name}
Request
- Base URLhttps://api.opal.dev/v1
- AuthHTTP bearer
Path parameters
opal_script_namestring required
The name of the OpalScript.
Response
The OpalScript associated with the passed-in name.
Example response
{
"opal_script_id": "32acc112-21ff-4669-91c2-21e27683eaa1",
"name": "MFA check",
"script_type": "REQUEST_REVIEW",
"version": 3
}Changes
- warning
added the new
REQUEST_CONFIGURATION_CONDITIONenum value to theresponse property for the response status
- warning
- info
endpoint added
- info