script
GET /JSON/script/view/scriptVar/
Changed onGets the value of the variable with the given key for the given script. Returns an API error (DOES_NOT_EXIST) if no script with the given name exists or if no value was previously set.
Request
- Base URLhttp://zap
- Auth
- none
- or API key in header X-ZAP-API-Key
- or API key in query parameter apikey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Error of JSON endpoints.
Changes
- breaking
the
response's property type changed fromintegertostringfor status - info
added the optional property
to the response with the status
- breaking
- breaking
the
response's property type changed fromstringtointegerfor status - warning
removed the optional property
from the response with the status
- breaking