GovReady / GovReady-CMS-API

Compliance API service supporting GovReady's WordPress Agent
4 stars 0 forks source link

Django: Allow to select from list of sites #55

Closed jlyon closed 7 years ago

jlyon commented 7 years ago

@aschmoe I created an endpoint: /v1.0/sites That lists the title (we haven't been using this yet so it defaults to url) and url for all sites belonging to the currently logged in user:

[
  {
    "title": "http://wordpress.govready.albatrossdemos.com",
    "url": "http://wordpress.govready.albatrossdemos.com"
  },
  {
    "title": "http://drupal.local",
    "url": "http://drupal.local"
  }
]
jlyon commented 7 years ago

Here's a couple of sketches for this @aschmoe govready-sites-interface.pdf

jlyon commented 7 years ago

This is ready to go.