Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
f60c7ca
Content types APIs v2
jmendeza Apr 13, 2026
e5c550c
Fix tests
jmendeza Apr 16, 2026
36d1d1e
API tweaks
jmendeza Apr 15, 2026
82ec6db
Merge config.xml into form-definition.xml
jmendeza Apr 21, 2026
efeed13
Upgrade blueprints content types
jmendeza Apr 21, 2026
0613a5e
ContentType APIs minor fixes
jmendeza Apr 22, 2026
eb73f07
ContentType APIs
jmendeza Apr 22, 2026
566504a
Make all content types APIs have the same path
jmendeza Apr 23, 2026
682b6fd
Handle content type in use scenario when trying to delete a content type
jmendeza Apr 23, 2026
15f716c
Use unique config file name for test
jmendeza Apr 23, 2026
1a59758
Fix datasource reference in content type
jmendeza Apr 23, 2026
7f33fd8
Update copyright
jmendeza Apr 23, 2026
ef0ba28
Cleanup
jmendeza Apr 24, 2026
b73ccc9
Fix test
jmendeza Apr 24, 2026
1cf75ca
Fix duplicate ApiResponse code
jmendeza Apr 27, 2026
418fa59
ContentType delete API spec fixes
jmendeza Apr 27, 2026
814e027
Rename ContentType field to match spec
jmendeza Apr 27, 2026
dafa189
APIs cleanup
jmendeza Apr 24, 2026
ea8d83c
Services/DAL cleanup
jmendeza Apr 27, 2026
18abf0f
StudioUtils to compile path pattern. Simple test added
jmendeza Apr 27, 2026
179a9f2
Make sure stream is closed
jmendeza Apr 27, 2026
c04a02e
Check for null before getting paths includes/excludes
jmendeza Apr 27, 2026
f27c0b1
Remove unnecessary annotation
jmendeza Apr 27, 2026
1ecb9c9
Check for missing authenticatedUser
jmendeza Apr 27, 2026
3762966
Prevent empty site update
jmendeza Apr 27, 2026
a2a4615
Prevent NPE
jmendeza Apr 27, 2026
d222944
Method javadoc update
jmendeza Apr 28, 2026
3cd3dc1
Update api spec responses
jmendeza Apr 28, 2026
dfb0393
Cleanup imports
jmendeza Apr 28, 2026
0ef8cc6
Remove unused code. Cleanup
jmendeza Apr 28, 2026
cdf16a0
Merge remote-tracking branch 'upstream/develop' into feature/6061-con…
jmendeza May 6, 2026
7548920
Remove old API from spec
jmendeza May 6, 2026
bc510fb
Update spec wrong propery name
jmendeza May 6, 2026
4de2a92
Add missing tags
jmendeza May 6, 2026
9863dfa
Remove obsolete API
jmendeza May 6, 2026
e150f3d
Calculate content type class based on destination path
jmendeza May 6, 2026
455edd6
Remove unncessary semicolon
jmendeza May 6, 2026
2e179ce
Complete javadoc
jmendeza May 6, 2026
bc35b62
Handle blank parameters in updateSite
jmendeza May 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 5 additions & 52 deletions src/main/api/studio-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ tags:
description: Server operations
- name: system
description: System operations
- name: model
description: Data models definitions
- name: contentTypes
description: Content type operations

paths:

Expand Down Expand Up @@ -2437,55 +2441,6 @@ paths:
'401':
$ref: '#/components/responses/Unauthorized'

/api/1/services/api/1/content/get-pages.json:
get:
tags:
- content
summary: Get pages. Gets tree of content items for given path.
description: "Required role: N/A"
operationId: getPages
parameters:
- name: site_id
in: query
description: Project/Site ID to use
required: true
schema:
type: string
- name: path
in: query
schema:
type: string
description: Path of the content
required: true
example: /site/website/index.xml
- name: depth
in: query
schema:
type: integer
description: Depth of the tree to display
required: true
example: 1
- name: order
in: query
schema:
type: string
description: Order of content items.
required: true
example: default
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ContentItemV1'
'400':
$ref: '#/components/responses/api1BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'

/api/1/services/api/1/content/reorder-items.json:
get:
tags:
Expand Down Expand Up @@ -3787,7 +3742,7 @@ paths:
properties:
response:
$ref: '#/components/schemas/ApiResponse'
dependencies:
usage:
type: object
properties:
templates:
Expand Down Expand Up @@ -10681,8 +10636,6 @@ components:
type: string
form:
type: string
formPagePath:
type: string
renderingTemplates:
type: array
items:
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

57 changes: 0 additions & 57 deletions src/main/java/org/craftercms/studio/api/v1/dal/GroupResult.java

This file was deleted.

52 changes: 0 additions & 52 deletions src/main/java/org/craftercms/studio/api/v1/dal/Permission.java

This file was deleted.

Loading