Skip to content

Latest commit

 

History

History
39 lines (35 loc) · 775 Bytes

File metadata and controls

39 lines (35 loc) · 775 Bytes

Example HTTP Requests

Example 1. View global function config
curl request
curl -X GET "http://$ADMIN:$PASSWORD@$HOST:8096/api/v1/functions/my_function/config"
Example 2. View scoped function config
curl request
curl -X GET "http://$USER:$PASSWORD@$HOST:8096/api/v1/functions/my_function/config?bucket=bulk&scope=data"
Example 3. Save global function config to file
curl request
curl -X GET "http://$ADMIN:$PASSWORD@$HOST:8096/api/v1/functions/my_function/config" \
  -o my_function.json
Example 4. Save scoped function config to file
curl request
curl -X GET "http://$USER:$PASSWORD@$HOST:8096/api/v1/functions/my_function/config?bucket=bulk&scope=data" \
  -o my_function.json