diff --git a/README.md b/README.md index b8f5f61..da9ba1e 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,7 @@ Register a new app. Returns an app ID. Request JSON object: +``` { version: "1", appuuid: "your-app-uuid", @@ -94,6 +95,7 @@ Request JSON object: username: "user this app belongs to", appname: "name of your web app" } +``` Response JSON object: @@ -119,11 +121,13 @@ List all registered apps for the current user. Request JSON object: +``` { version: "1", appuuid: "your-app-uuid", token: "current time based token" } +``` Response JSON object: @@ -198,6 +202,7 @@ Fields: django.db.backends.postgresql django.contrib.admin +``` DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', @@ -208,3 +213,4 @@ DATABASES = { 'PORT': '5432', } } +```