plone.restapi/expansion: Update docs

Timo Stollenwerk <jenkins-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: plone.restapi
Branch: refs/heads/expansion
Date: 2017-07-16T12:06:34+02:00
Author: Roel Bruggink (jaroel) <roel-Ttk/PUy0oENmR6Xm/[email protected]>
Commit: https://github.com/plone/plone.restapi/commit/bde65cfe2742e13dd7bc0569fa59f11ffc8fa588

Update docs

Files changed:
M CHANGES.rst
M docs/source/_json/types.resp

diff --git a/CHANGES.rst b/CHANGES.rst
index 600ae754..2cd5e09c 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -35,7 +35,8 @@ Bugfixes:
 
 Bugfixes:
 
-- Don't list non-DX types. Refs https://github.com/plone/plone.restapi/issues/150
+- Don't list non-DX types in @types endpoint.
+  Refs https://github.com/plone/plone.restapi/issues/150
   [jaroel]
 
 
diff --git a/docs/source/_json/types.resp b/docs/source/_json/types.resp
index bd4b1614..459c9c66 100644
--- a/docs/source/_json/types.resp
+++ b/docs/source/_json/types.resp
@@ -8,14 +8,9 @@ Content-Type: application/json
     "title": "Collection"
   }, 
   {
-    "@id": "http://localhost:55001/plone/@types/Discussion Item", 
-    "addable": false, 
-    "title": "Discussion Item"
-  }, 
-  {
     "@id": "http://localhost:55001/plone/@types/DXTestDocument", 
     "addable": true, 
-    "title": "DXTestDocument"
+    "title": "DX Test Document"
   }, 
   {
     "@id": "http://localhost:55001/plone/@types/Event", 
@@ -50,16 +45,6 @@ Content-Type: application/json
   {
     "@id": "http://localhost:55001/plone/@types/Document", 
     "addable": true, 
-    "title": "Document"
-  }, 
-  {
-    "@id": "http://localhost:55001/plone/@types/ATTestDocument", 
-    "addable": true, 
-    "title": "ATTestDocument"
-  }, 
-  {
-    "@id": "http://localhost:55001/plone/@types/ATTestFolder", 
-    "addable": true, 
-    "title": "ATTestFolder"
+    "title": "Page"
   }
 ]
\ No newline at end of file



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.