Skip to content

Latest commit

 

History

History
39 lines (35 loc) · 791 Bytes

File metadata and controls

39 lines (35 loc) · 791 Bytes

Example HTTP Requests

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