Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit EMA: Provide Better APIs in dotCMS JavaScript SDK #27296

Closed
3 tasks done
Tracked by #26644
fmontes opened this issue Jan 9, 2024 · 0 comments · Fixed by #27300
Closed
3 tasks done
Tracked by #26644

Edit EMA: Provide Better APIs in dotCMS JavaScript SDK #27296

fmontes opened this issue Jan 9, 2024 · 0 comments · Fixed by #27300

Comments

@fmontes
Copy link
Member

fmontes commented Jan 9, 2024

Parent

#26644

User Story

As a developer, I want to have access to additional fetch options when initializing the dotCMS client library so that I can have more control over the API calls made by the SDK.

Additionally, I would like to have a more intuitive API structure, where instead of using client.getPage and client.getNav, I can use client.page.get and client.nav.get.

Acceptance Criteria

Preview Give feedback

Proposed Objective

Core Features

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

  1. For the client fetch option, use the native types, but we should omit method and body and maybe something else, we need to do some research here.
  2. When changing the API consider that it could grow, for example: client.page.save or client.workflow.trigger.

Assumptions & Initiation Needs

  • The existing dotCMS JavaScript SDK codebase will need to be modified to accommodate the new features.
  • The dotCMS API should be able to handle the additional fetch options provided by the SDK.

Quality Assurance Notes & Workarounds

  • Test the new fetch options when initializing the dotCMS client library to ensure they
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant