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

Create endpoint that given a list of categories returns them with a list of their parents #28894

Closed
dsilvam opened this issue Jun 14, 2024 · 3 comments · Fixed by #29142, #29210 or #29219
Closed

Comments

@dsilvam
Copy link
Contributor

dsilvam commented Jun 14, 2024

Parent Issue

#28493

Task

Create an endpoint that does the following takes a list of categories (keys) and return them back with a list of parents for each of them.

The list of parent cats will be returned as an array. It needs to include key, name, and identifier for each.

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

Acceptance Criteria

The endpoint functioning as stated.
Include postman test.

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

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@dsilvam dsilvam moved this from New to Next 1-3 Sprints in dotCMS - Product Planning Jun 14, 2024
@john-thomas-dotcms john-thomas-dotcms moved this from Next 1-3 Sprints to Current Sprint Backlog in dotCMS - Product Planning Jun 20, 2024
@jcastro-dotcms jcastro-dotcms self-assigned this Jun 26, 2024
@jcastro-dotcms jcastro-dotcms moved this from Current Sprint Backlog to In Progress in dotCMS - Product Planning Jun 26, 2024
@jcastro-dotcms jcastro-dotcms removed their assignment Jun 26, 2024
@jcastro-dotcms jcastro-dotcms moved this from In Progress to Current Sprint Backlog in dotCMS - Product Planning Jun 26, 2024
@freddyDOTCMS freddyDOTCMS moved this from Current Sprint Backlog to In Progress in dotCMS - Product Planning Jun 26, 2024
@freddyDOTCMS freddyDOTCMS self-assigned this Jun 26, 2024
@freddyDOTCMS freddyDOTCMS moved this from In Progress to Current Sprint Backlog in dotCMS - Product Planning Jun 27, 2024
@freddyDOTCMS freddyDOTCMS moved this from Current Sprint Backlog to In Review in dotCMS - Product Planning Jul 3, 2024
@freddyDOTCMS freddyDOTCMS moved this from In Review to In Progress in dotCMS - Product Planning Jul 3, 2024
@freddyDOTCMS freddyDOTCMS moved this from In Progress to In Review in dotCMS - Product Planning Jul 5, 2024
@freddyDOTCMS freddyDOTCMS moved this from In Review to Internal QA in dotCMS - Product Planning Jul 9, 2024
@freddyDOTCMS freddyDOTCMS removed their assignment Jul 9, 2024
@oidacra oidacra self-assigned this Jul 9, 2024
@oidacra
Copy link
Member

oidacra commented Jul 12, 2024

IQA: Failed
The endpoint expects an inode, not keys. And it is needed with keys.

Image

@oidacra oidacra closed this as completed Jul 12, 2024
@oidacra oidacra moved this from Internal QA to QA - Backlog in dotCMS - Product Planning Jul 12, 2024
@oidacra oidacra moved this from QA - Backlog to Internal QA in dotCMS - Product Planning Jul 12, 2024
github-merge-queue bot pushed a commit that referenced this issue Jul 12, 2024
### Proposed Changes
* returning category_name
@freddyDOTCMS freddyDOTCMS moved this from Current Sprint Backlog to In Progress in dotCMS - Product Planning Jul 12, 2024
@freddyDOTCMS freddyDOTCMS moved this from In Progress to In Review in dotCMS - Product Planning Jul 12, 2024
@freddyDOTCMS freddyDOTCMS assigned freddyDOTCMS and unassigned oidacra Jul 12, 2024
@oidacra
Copy link
Member

oidacra commented Jul 16, 2024

IQA Passed
POST to /api/v1/categories/hierarchy
array of category's keys body:

{
    "keys": ["4100238e544eaf5ca1c944d6180025f3","ae9239ca63071ca1434c9879c57cbbb1"]
}

Image

@freddyDOTCMS freddyDOTCMS moved this from In Review to Internal QA in dotCMS - Product Planning Jul 16, 2024
@oidacra oidacra assigned oidacra and unassigned freddyDOTCMS Jul 16, 2024
@oidacra oidacra moved this from Internal QA to QA - Backlog in dotCMS - Product Planning Jul 16, 2024
@josemejias11 josemejias11 moved this from QA - Backlog to QA - In Progress in dotCMS - Product Planning Jul 16, 2024
@josemejias11
Copy link
Contributor

Approved: Tested on master_d501a60, Docker, macOS 14.5, FF v126.0.1

@josemejias11 josemejias11 moved this from QA - In Progress to QA - Rejected in dotCMS - Product Planning Jul 17, 2024
@josemejias11 josemejias11 moved this from QA - Rejected to Done in dotCMS - Product Planning Jul 17, 2024
@dsilvam dsilvam closed this as completed Jul 24, 2024
@github-project-automation github-project-automation bot moved this from Done to Internal QA in dotCMS - Product Planning Jul 24, 2024
@dsilvam dsilvam moved this from Internal QA to Done in dotCMS - Product Planning Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment