-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #341 from beckn/release-1.x
Merging Core Version 1.0 release branch
- Loading branch information
Showing
136 changed files
with
7,642 additions
and
2,671 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# Ravi Prakash | ||
* __Email__ : [email protected] | ||
* __Github__ : [core-wg-admin](https://github.com/core-wg-admin) | ||
* __Github__ : [ravi-prakash-v](https://github.com/ravi-prakash-v) | ||
|
||
# Pramod Varma | ||
* __Email__ : [email protected] | ||
* __Github__ : [pramodkvarma](https://github.com/pramodkvarma) | ||
|
||
# Venkataraman Mahadevan | ||
* __Github__ : [venkatramanm](https://github.com/venkatramanm) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: Beckn Protocol Meta API | ||
description: This document contains all the meta API endpoints that are implemented by the network participants. The information returned from these endpoints typically contain cacheable information. | ||
version: "1.0.0" | ||
security: | ||
- SubscriberAuth: [] | ||
paths: | ||
/get_cancellation_reasons: | ||
post: | ||
tags: | ||
- Beckn Provider Platform (BPP) | ||
description: BAP fetches the list of cancellation reasons from BPP | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "./io/GetCancellationReasons.yaml" | ||
responses: | ||
default: | ||
$ref: "./io/Response.yaml" | ||
/cancellation_reasons: | ||
post: | ||
tags: | ||
- Beckn Application Platform (BPP) | ||
description: BPP sends cancellation reasons to BAP | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "./io/CancellationReasons.yaml" | ||
responses: | ||
default: | ||
$ref: "./io/Response.yaml" | ||
/get_return_reasons: | ||
post: | ||
tags: | ||
- Beckn Provider Platform (BPP) | ||
description: BAP requests BPP to provide the list of return reasons | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "./io/GetReturnReasons.yaml" | ||
responses: | ||
default: | ||
$ref: "./io/Response.yaml" | ||
|
||
/return_reasons: | ||
post: | ||
tags: | ||
- Beckn Application Platform (BPP) | ||
description: BPP provides the list of return reasons to the BAP | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "./io/ReturnReasons.yaml" | ||
responses: | ||
default: | ||
$ref: "./io/Response.yaml" | ||
/get_rating_categories: | ||
post: | ||
tags: | ||
- Beckn Provider Platform (BPP) | ||
description: BAP requests BPP to provide the list of entities that can be rated on its system | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "./io/GetRatingCategories.yaml" | ||
responses: | ||
default: | ||
$ref: "./io/Response.yaml" | ||
/rating_categories: | ||
post: | ||
tags: | ||
- Beckn Application Platform (BPP) | ||
description: BPP provides the list of entities that can be rated in its system to the BAP | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "./io/RatingCategories.yaml" | ||
responses: | ||
default: | ||
$ref: "./io/Response.yaml" | ||
components: | ||
securitySchemes: | ||
SubscriberAuth: | ||
type: apiKey | ||
in: header | ||
name: Authorization | ||
description: 'Signature of message body using signing public key of the caller. <br/><br/>Format:<br/><br/><code>Authorization : Signature keyId="{subscriber_id}|{key_id}|{algorithm}",algorithm="ed25519",created="1606970629",expires="1607030629",headers="(created) (expires) digest",signature="Base64(signing string)"</code>' | ||
schemas: | ||
$ref: "./schema/index.yaml" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
type: object | ||
properties: | ||
context: | ||
allOf: | ||
- $ref: "../../../../schema/Context.yaml" | ||
- properties: | ||
action: | ||
enum: | ||
- cancellation_reasons | ||
required: | ||
- action | ||
message: | ||
type: object | ||
properties: | ||
cancellation_reasons: | ||
type: array | ||
items: | ||
$ref: '../../../../schema/Option.yaml' | ||
required: | ||
- cancellation_reasons | ||
required: | ||
- context | ||
- message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
type: object | ||
properties: | ||
context: | ||
allOf: | ||
- $ref: "../../../../schema/Context.yaml" | ||
- properties: | ||
action: | ||
enum: | ||
- get_cancellation_reasons | ||
required: | ||
- action | ||
required: | ||
- context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
type: object | ||
properties: | ||
context: | ||
allOf: | ||
- $ref: "../../../../schema/Context.yaml" | ||
- properties: | ||
action: | ||
enum: | ||
- get_rating_categories | ||
required: | ||
- action | ||
required: | ||
- context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
type: object | ||
properties: | ||
context: | ||
allOf: | ||
- $ref: "../../../../schema/Context.yaml" | ||
- properties: | ||
action: | ||
enum: | ||
- get_return_reasons | ||
required: | ||
- action | ||
required: | ||
- context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
type: object | ||
properties: | ||
context: | ||
allOf: | ||
- $ref: "../../../../schema/Context.yaml" | ||
- properties: | ||
action: | ||
enum: | ||
- rating_categories | ||
required: | ||
- action | ||
message: | ||
type: object | ||
properties: | ||
rating_categories: | ||
type: array | ||
items: | ||
$ref: '../../../../schema/Rating.yaml#/properties/rating_category' | ||
required: | ||
- return_reasons | ||
required: | ||
- context | ||
- message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
description: Acknowledgement of message received after successful validation of schema and signature | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: object | ||
properties: | ||
ack: | ||
allOf: | ||
- $ref: "../../../../schema/Ack.yaml" | ||
- properties: | ||
status: | ||
enum: | ||
- ACK | ||
- NACK | ||
required: | ||
- ack | ||
error: | ||
$ref: "../../../../schema/Error.yaml" | ||
required: | ||
- message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
type: object | ||
properties: | ||
context: | ||
allOf: | ||
- $ref: "../../../../schema/Context.yaml" | ||
- properties: | ||
action: | ||
enum: | ||
- return_reasons | ||
required: | ||
- action | ||
message: | ||
type: object | ||
properties: | ||
return_reasons: | ||
type: array | ||
items: | ||
$ref: '../../../../schema/Option.yaml' | ||
required: | ||
- return_reasons | ||
required: | ||
- context | ||
- message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Context: | ||
$ref: "../../../../schema/Context.yaml" | ||
|
||
Option: | ||
$ref: "../../../../schema/Option.yaml" | ||
|
||
Rating: | ||
$ref: "../../../../schema/Rating.yaml" |
Oops, something went wrong.