-
Sub-task
-
Resolution: Done
-
Major
-
2.14.0 GA
-
False
-
None
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
-
API CCS Sprint 37 (3Scale), API CCS Sprint 38 (3Scale), API CCS Sprint 39 (3Scale), API CCS Sprint 40 (3Scale), API CCS Sprint 42 (3Scale), API CCS Sprint 43 (3Scale), API CCS Sprint 44 (3Scale) 2
We're dropping support on XML responses for the CMS APIs since we believe it won't be used enough to justify the extra maintenance efforts.
As such, the following endpoints should only respond to JSON format:
Verb | Endpoint | Controller#Action |
---|---|---|
GET | /admin/api/cms/sections/:section_id/files | admin/api/cms/files#index |
GET | /admin/api/cms/sections | admin/api/cms/sections#index |
POST | /admin/api/cms/sections | admin/api/cms/sections#create |
GET | /admin/api/cms/sections/new | admin/api/cms/sections#new |
GET | /admin/api/cms/sections/:id/edit | admin/api/cms/sections#edit |
GET | /admin/api/cms/sections/:id | admin/api/cms/sections#show |
PATCH | /admin/api/cms/sections/:id | admin/api/cms/sections#update |
PUT | /admin/api/cms/sections/:id | admin/api/cms/sections#update |
DELETE | /admin/api/cms/sections/:id | admin/api/cms/sections#destroy |
GET | /admin/api/cms/files | admin/api/cms/files#index |
POST | /admin/api/cms/files | admin/api/cms/files#create |
GET | /admin/api/cms/files/new | admin/api/cms/files#new |
GET | /admin/api/cms/files/:id/edit | admin/api/cms/files#edit |
GET | /admin/api/cms/files/:id | admin/api/cms/files#show |
PATCH | /admin/api/cms/files/:id | admin/api/cms/files#update |
PUT | /admin/api/cms/files/:id | admin/api/cms/files#update |
DELETE | /admin/api/cms/files/:id | admin/api/cms/files#destroy |
PUT | /admin/api/cms/templates/:id/publish | admin/api/cms/templates#publish |
GET | /admin/api/cms/templates | admin/api/cms/templates#index |
POST | /admin/api/cms/templates | admin/api/cms/templates#create |
GET | /admin/api/cms/templates/:id | admin/api/cms/templates#show |
PATCH | /admin/api/cms/templates/:id | admin/api/cms/templates#update |
PUT | /admin/api/cms/templates/:id | admin/api/cms/templates#update |
DELETE | /admin/api/cms/templates/:id | admin/api/cms/templates#destroy |
Notes
XML is the current default format for the CMS endpoints. Once this ticket is implemented, the default format should be JSON.
- mentioned on