Growth Spaces Documentation
Growth Spaces is a platform that easily lets you connect users on your apps and websites to relevant content. Let us help you connect users with engaging, life-changing, empowering content.
Growth Spaces is a platform that easily lets you connect users on your apps and websites to relevant content. Let us help you connect users with engaging, life-changing, empowering content.
GET /api/v1/authentication
GET /api/v1/authentication
Access-Id: MQ==
Access-Secret: Y92tQT3THBXm52J3v3+HBNXw3/NAuRqX6YJTqgfK5phuo01+2i72l0vCUfw7azJ9+cMF8blagQrbOlXkjS+1zA==
Host: example.org
Cookie:
200
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: text/html; charset=utf-8
ETag: W/"444bcb3a3fcf8389296c49467f27e1d6"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 9127d55f-f774-496f-9014-bcc113727879
X-Runtime: 0.058587
Content-Length: 2
ok
GET /api/v1/content
Name | Description |
---|---|
route_id | route to find corresponding content |
language_code | language code to find corresponding content |
GET /api/v1/content?route_id=1&language_code=VT
Access-Id: Mg==
Access-Secret: GX1q2kgFv5mRZQQiIgOylcdmt7MVpJo8SK11B2yVZ8lCjmVC4jMquDp0jSx3cs7V7nG+Gg43Rug3ddKgoSnovQ==
Host: example.org
Cookie:
route_id=1 language_code=VT
200
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"7518f966fbcb7ee5a9cd8a9bc2b34d11"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 4f7de810-5bdb-465e-9e57-f46b976d3107
X-Runtime: 0.087459
Content-Length: 131
{
"id": 1,
"name": "Kanlam",
"summary": "programming the microchip won't do anything, we need to synthesize the wireless HTTP firewall!"
}
GET /api/v1/languages
GET /api/v1/languages
Access-Id: Mw==
Access-Secret: cYMQcs+9veBEsuiJhFSmSp74LYIi5tCInKbtQ1V3NzV6ttA5Fq+VHeySeJ71HgH6IZEzdN71h1WhO3E+UG70eg==
Host: example.org
Cookie:
200
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"7b1fc6dc7973665455e1d40fb3239997"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 812a0164-a521-4966-9c22-a66b206a9001
X-Runtime: 0.026613
Content-Length: 214
[
{
"id": 2,
"name": "Swaziland (1)",
"code": "NH"
},
{
"id": 3,
"name": "Gambia (2)",
"code": "OR"
},
{
"id": 4,
"name": "Bhutan (3)",
"code": "AZ"
},
{
"id": 5,
"name": "Australia (4)",
"code": "AZ"
},
{
"id": 6,
"name": "Mongolia (5)",
"code": "NM"
}
]
GET /api/v1/routes
GET /api/v1/routes
Access-Id: NA==
Access-Secret: nytjg/4h+YVYgbdyNsqILtPeKaMGr9uS8HrDtrN95AcCHEy3x5t8eQ6Vkgm0A4wl55YUGQllsPXjHg0w0t/jbQ==
Host: example.org
Cookie:
200
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"1816cc4441e312e17c80dd31effdd8ee"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 425e5e83-769c-4c2f-ac6c-5ff6ff37d838
X-Runtime: 0.054846
Content-Length: 155
[
{
"id": 2,
"name": "Zontrax (1)"
},
{
"id": 3,
"name": "Sub-Ex (2)"
},
{
"id": 4,
"name": "Zontrax (3)"
},
{
"id": 5,
"name": "Zaam-Dox (4)"
},
{
"id": 6,
"name": "Mat Lam Tam (5)"
}
]
POST /api/v1/subscribers
Name | Description |
---|---|
subscriber[route_id] required | route to find corresponding content |
subscriber[language_code] required | language code to find corresponding content |
subscriber[first_name] | subscriber's first name |
subscriber[last_name] | subscriber's last name |
subscriber[email] required | subscriber's email address |
POST /api/v1/subscribers
Access-Id: NQ==
Access-Secret: KqYVdNA/khQxqsODxJVDcNnYgIMct8aZuTKS8ikr7tAQh2Z4pdAHXXqNfGGLTQUR0CEGGW2vZVQa4UEdwl2GXQ==
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie:
subscriber[route_id]=7&subscriber[language_code]=SD&subscriber[first_name]=Keenan&subscriber[last_name]=Lind&subscriber[email]=alexandria.dickens%40metz.org
201
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/json; charset=utf-8
ETag: W/"3e0bfb08738966a91418124bfb5d61b6"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 4aeafd96-686a-48f3-aceb-f3ee61dee43d
X-Runtime: 0.096182
Content-Length: 121
{
"id": 1,
"first_name": "Keenan",
"last_name": "Lind",
"email": "[email protected]",
"route_id": 7,
"language_code": "SD"
}