++ quoting
This commit is contained in:
parent
12797d9978
commit
536e639cd3
1 changed files with 6 additions and 0 deletions
|
@ -87,6 +87,7 @@ Register a new app. Returns an app ID.
|
||||||
|
|
||||||
Request JSON object:
|
Request JSON object:
|
||||||
|
|
||||||
|
```
|
||||||
{
|
{
|
||||||
version: "1",
|
version: "1",
|
||||||
appuuid: "your-app-uuid",
|
appuuid: "your-app-uuid",
|
||||||
|
@ -94,6 +95,7 @@ Request JSON object:
|
||||||
username: "user this app belongs to",
|
username: "user this app belongs to",
|
||||||
appname: "name of your web app"
|
appname: "name of your web app"
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Response JSON object:
|
Response JSON object:
|
||||||
|
|
||||||
|
@ -119,11 +121,13 @@ List all registered apps for the current user.
|
||||||
|
|
||||||
Request JSON object:
|
Request JSON object:
|
||||||
|
|
||||||
|
```
|
||||||
{
|
{
|
||||||
version: "1",
|
version: "1",
|
||||||
appuuid: "your-app-uuid",
|
appuuid: "your-app-uuid",
|
||||||
token: "current time based token"
|
token: "current time based token"
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Response JSON object:
|
Response JSON object:
|
||||||
|
|
||||||
|
@ -198,6 +202,7 @@ Fields:
|
||||||
django.db.backends.postgresql
|
django.db.backends.postgresql
|
||||||
django.contrib.admin
|
django.contrib.admin
|
||||||
|
|
||||||
|
```
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.postgresql',
|
'ENGINE': 'django.db.backends.postgresql',
|
||||||
|
@ -208,3 +213,4 @@ DATABASES = {
|
||||||
'PORT': '5432',
|
'PORT': '5432',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue