Adding documentation for Hermes resources#289
Merged
rogelioLpz merged 5 commits intomainfrom Jun 30, 2022
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## main #289 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 43 43
Lines 1005 1010 +5
=========================================
+ Hits 1005 1010 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
rogelioLpz
reviewed
Jun 29, 2022
cuenca/resources/endpoints.py
Outdated
| } | ||
| schema_extra = { | ||
| 'example': { | ||
| "_id": "ENxxne2Z5VSTKZm_w8Hzffcw", |
pachCode
reviewed
Jun 29, 2022
cuenca/resources/endpoints.py
Outdated
| fields = { | ||
| 'url': {'description': 'HTTPS url to send webhooks'}, | ||
| 'secret': { | ||
| 'description': 'token to verify the webhook is sent by Cuenca' |
Contributor
There was a problem hiding this comment.
puedes poner el algoritmo que se usa para la validación porfa
me parece que es hmac
rogelioLpz
reviewed
Jun 29, 2022
cuenca/resources/endpoints.py
Outdated
Comment on lines
41
to
42
| "created_at": {"$date": {"$numberLong": "1645752962234"}}, | ||
| "updated_at": {"$date": {"$numberLong": "1645752962234"}}, |
rogelioLpz
reviewed
Jun 29, 2022
Comment on lines
30
to
39
| """ | ||
| Creates and Endpoint, allowing to recieve Webhooks with the specified | ||
| events. | ||
|
|
||
| :param url: HTTPS url to send webhooks | ||
| :param events: list of enabled events. If None, all events will be | ||
| enabled for this Endpoint | ||
| :param session: | ||
| :return: New active endpoint | ||
| """ |
Member
There was a problem hiding this comment.
Esta es mejor que se quede es la descripcion que sale en los ides
pachCode
previously approved these changes
Jun 29, 2022
pachCode
previously approved these changes
Jun 29, 2022
felipao-mx
approved these changes
Jun 29, 2022
pachCode
approved these changes
Jun 30, 2022
rogelioLpz
approved these changes
Jun 30, 2022
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding description for resources in Hermes.