==================================== Juicebox Environment Information API ==================================== This endpoint provides information about the environment of the currently running Juicebox. It requires the user to be logged in and to either be a super user or a client admin. Get information about the running Juicebox environment ------------------------------------------------------ .. http:get:: /api/v1/jb/env/ Get information about this Juicebox environment **Example Request**: .. code:: GET /api/v1/jb/env/ Accept: application/json Authorization: Token 7297b3ebb0e7f7baf5f54d39908dda99f5ea8665 **Example Response**: .. code:: HTTP/1.1 200 OK Vary: Accept Content-Type: text/json { "environment": "dev", "upload_bucket_name": "my_bucket" } :>json string environment: the environment juicebox is running in :>json string upload_bucket_name: the name of the s3 bucket where uploads will be stored for this client :reqheader Accept: the response content type depends on ``Accept`` header :reqheader Authorization: contains the token to be used for authentication :resheader Content-Type: this depends on ``Accept`` header of request :statuscode 200: OK :statuscode 403: Authentication Failed :statuscode 401: Authentication Credentials were not provided