You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request updates the `devrev-trello-snapin.plain` file and the
`trello-openapi-compact.yaml` file to enhance functionality and improve
documentation. Key changes include specifying API endpoints for fetching
data, introducing detailed mapping requirements, and adding example
responses to OpenAPI paths for better clarity.
- https://app.devrev.ai/devrev/works/ISS-193822
Copy file name to clipboardExpand all lines: devrev-trello-snapin.plain
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -61,21 +61,23 @@
61
61
62
62
***Non-Functional Requirements:***
63
63
64
-
- The resource [trello-openapi-compact.yaml](trello-openapi-compact.yaml) describes The API.
64
+
- The OpenAPI Specification is provided in the resource [trello-openapi-compact.yaml](trello-openapi-compact.yaml). The OpenAPI Specification describes The API.
65
+
66
+
- The Mapping is a method in The Implementation Code that maps the fields in The API response to the fields in The Function's output. The Mapping should output "snake_case" for JSON keys. The Mapping should map every single field from The OpenAPI Specification to The Function's output.
65
67
68
+
- If The Function uses The API to fetch data, The Mapping should be used along its rules.
66
69
67
70
***Functional Requirements:***
68
71
69
-
- Implement The Function that uses The API to fetch The List of Boards (The Fetched Boards).
72
+
- Implement The Function that uses The API to fetch The List of Boards (The Fetched Boards) using the endpoint "/members/{id}/boards".
70
73
71
74
***Acceptance Tests:***
72
75
73
76
- When using The Test Trello Credentials a board with the name "SaaS connectors" must be in the result of The Function.
74
77
75
-
- Implement The Function that uses The API to fetch The List of Users of The Organization (The Fetched Users). The Organization ID is provided in the "org_id" field of the "connection_data" dictionary which is part of "payload" dictionary.
76
-
77
-
- Implement The Function that uses The API to fetch The List of Cards for The Board (The Fetched Cards). The Board ID is provided in the "external_sync_unit_id" field of the "event_context" dictionary which is part of "payload" dictionary.
78
+
- Implement The Function that uses The API to fetch The List of Users of The Organization (The Fetched Users) using the endpoint "/organizations/{id}/members". The Organization ID is provided in the "org_id" field of the "connection_data" dictionary which is part of "payload" dictionary.
78
79
80
+
- Implement The Function that uses The API to fetch The List of Cards for The Board (The Fetched Cards) using the endpoint "/boards/{id}/cards". The Board ID is provided in the "external_sync_unit_id" field of the "event_context" dictionary which is part of "payload" dictionary.
0 commit comments