Meta API - get_cancellation_reasons
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
Research direction
Start with the Beckn meta.yaml specification and inspect the existing Strapi data models and webhook handlers for related meta APIs. Implement the cancellation-reasons flow, then verify it through Strapi and the generic client layer and add endpoint unit tests. Done means Strapi returns the correct cancellation reasons to the BAP.
Written by the indexing model from the issue text.
Description
Description
In version 1.1.0 of beckn, a new set of APIs has been introduced that can be used by the BAPs to fetch the meta information. One of the API is get_cancellation_reasons. In this BAP fetches the list of cancellation reasons from BPP. In Strapi plugin we need to implement the get_cancellation_reasons.
- Create a suitable datamodel in Strapi , check if any existing data model can be used to provide the detail.
- Create an endpoint in webhook to handle the request.
- Implement the query logic to fetch the requested detail.
- Test the endpoint from Strapi and the generic client layer.
- Write unit test cases for the endpoint.
Goals
- Implement fetch cancellation reason API in Strapi
Expected Outcome
Strapi should be able to serve the get_cancellation_reasons API call from BAP.
Acceptance Criteria
- Correct result is provided to BAP when a request for cancellation results is made to Strapi BPP.
Implementation Details
It should be part of the strapi pugin and must follow the specification details here - https://github.com/beckn/protocol-specifications/blob/master/api/meta/build/meta.yaml
Tech Skills Needed:
Strapi plugin development
Node Js
Complexity
Medium
Category
Enhancement
Sub Category
Strapi plugin enhancement
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from beckn/strapi-plugins
-
Migrated MySQL Unified-Strapi-Dev Database to Unified-Strapi-StagingMay be free again @em-tpt-bbandi claimed this 631 days ago, and no pull request is open. Openstrapi-plugins
beckn/strapi-plugins#227 · 1 comment · 1 assignee ·
-
Deployed Unified-Strapi-Staging on Bpp-Unified-Staging Machine with DNS Entry and Nginx ConfigurationMay be free again @em-tpt-bbandi claimed this 631 days ago, and no pull request is open. Openstrapi-plugins
beckn/strapi-plugins#226 · 1 comment · 1 assignee ·
-
bug QA
beckn/strapi-plugins#194 · 4 comments · 1 assignee ·
-
Merging consumer & prosumer flow : Code changes & Install Unified plugin in the new strapiMay be free again @em-abee claimed this 679 days ago, and no pull request is open. Open
beckn/strapi-plugins#193 · 1 comment · 1 assignee ·
-
Merging consumer & prosumer flow : Import tables and their corresponding schema files of BPP and BAP in the new strapiMay be free again @em-abee claimed this 679 days ago, and no pull request is open. Open
beckn/strapi-plugins#192 · 1 comment · 1 assignee ·
All issues in beckn/strapi-plugins
Similar issues
-
needs:triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
ai-discovered
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
jessepollak/home#1627 ·
Maintainers usually reply within 1 day
-
agent-canvas bug llm priority:low ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenHands/OpenHands#17806 · 3 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
radius-project/ai-extensions#923 ·
Maintainers usually reply within 1 day