APPL_JSON='application/json'
UNKNOWN_QUERY_PARAMETERS="Unknown query parameter(s)"
RETURNING_CONFIGURED_RESP="returning configured response code"
APPL_JSON='application/json'
UNKNOWN_QUERY_PARAMETERS="Unknown query parameter(s)"
RETURNING_CONFIGURED_RESP="returning configured response code"
# Arm the create callback with a response code
# Omitting the query parameter switch to response back to the standard 200/201 response
# Arm the create callback with a response code
# Omitting the query parameter switch to response back to the standard 200/201 response
# Setting
# response: 200 (400 if incorrect query params)
@app.route(ARM_CREATE_RESPONSE,
# Setting
# response: 200 (400 if incorrect query params)
@app.route(ARM_CREATE_RESPONSE,
# Arm the delete callback with a response code
# Omitting the query parameter switch to response back to the standard 204 response
# Arm the delete callback with a response code
# Omitting the query parameter switch to response back to the standard 204 response
# response: 200 (400 if incorrect query params)
@app.route(ARM_DELETE_RESPONSE,
methods=['PUT'])
# response: 200 (400 if incorrect query params)
@app.route(ARM_DELETE_RESPONSE,
methods=['PUT'])
# Arm the supervision callback with a response code
# Omitting the query parameter switch to response back to the standard 200 response
# Arm the supervision callback with a response code
# Omitting the query parameter switch to response back to the standard 200 response
# response: 200 (400 if incorrect query params)
@app.route(ARM_SUPERVISION_RESPONSE,
methods=['PUT'])
# response: 200 (400 if incorrect query params)
@app.route(ARM_SUPERVISION_RESPONSE,
methods=['PUT'])