GET
/
api
/
v1
/
project
/
profile_config
# To use the Python SDK, install the package:
# pip install memobase

from memobase import Memobase

memobase = Memobase(project_url='PROJECT_URL', api_key='PROJECT_TOKEN')

config = memobase.get_config()
{
  "data": {
    "profile_config": "<string>"
  },
  "errno": 0,
  "errmsg": ""
}

Returns the current profile config, Empty if using the default profile config in config.yaml.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
Successful Response
data
object | null

Response containing profile config data

errno
enum<integer>

Error code, 0 means success

Available options:
0,
400,
401,
403,
404,
405,
409,
422,
500,
501,
502,
503,
504
errmsg
string
default:

Error message, empty when success