def GET(self): """ List all keys. HTTP Success: 200 Success """ header('Content-Type', 'application/json') return dumps(list_keys())
def GET(self): """ List all keys. HTTP Success: 200 Success HTTP Error: 406 Not Acceptable """ header('Content-Type', 'application/json') return dumps(list_keys())
def get(self): """ List all data identifier keys. .. :quickref: Meta; List all keys. :resheader Content-Type: application/json :status 200: OK. :status 401: Invalid Auth Token. :status 406: Not Acceptable. :returns: List of all DID keys. """ return jsonify(list_keys())
def get(self): """ List all data identifier keys. .. :quickref: Meta; List all keys. :resheader Content-Type: application/json :status 200: OK. :status 401: Invalid Auth Token. :status 500: Internal Error. :returns: List of all DID keys. """ return Response(dumps(list_keys()), content_type="application/json")
def get(self): """ --- summary: List all data identifier keys. tags: - Meta responses: 200: description: OK content: application/json: schema: type: array descripton: List of all DID keys. items: type: string description: Data Itentifier key 401: description: Invalid Auth Token 406: description: Not acceptable """ return jsonify(list_keys())