-
Notifications
You must be signed in to change notification settings - Fork 7
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
Provide API information to 0xAvenue #1497
Comments
➤ PJ commented: 因為我負責串接0xAvenue API所以先 join task跟進目前進度,謝謝 |
➤ Sherry Chung commented: Tammy YangPJ 已取得 0xAvenue URL 參數,再麻煩提供 API for 0xAvenue
|
➤ PJ commented: Tammy Yang |
➤ Sherry Chung commented: Tammy Yang 這個我在等你回覆要提供給 0xAvenue 的 API 資訊,或請告知應該改 assign 給誰 |
➤ Tammy Yang commented: Sherry Chung 你可以先請 PJ 提供,他上面訊息的概念很接近,我做 review 比較快 |
➤ PJ commented: Sherry Chung 我明天會給一版spec放在這,再請 Tammy Yang review, thanks! |
➤ PJ commented: According to the flow here https://miro.com/app/board/o9J_knFcMnw=/?moveToWidget=3458764520664359089&cot=14 ( https://miro.com/app/board/o9J_knFcMnw=/?moveToWidget=3458764520664359089&cot=14 ) and the current OrderDB structure, I think we can simplify the flow: Since the information 0xAvenue needs(blockchain name, asset url(cid?), owner wallet address are in OrderDB, also this network app doesn't require $NUM, I think we can skip the work for storage backend ←→ 0xAvenue here. We can leverage bubble workflow for 0xAvenue to access these information by order_id. For example, For purchase info update (Name are subject to change) |
➤ Tammy Yang commented: PJ we don't have those APIs yet, right? Suggest endpoints order-create instead of "0xAvenue" and "0xAvenue-update" ALWAYS prevent putting user name or company name in the endpoint or anywhere. |
➤ Tammy Yang commented: If they have been implemented, submit a QA release and only share AFTER test passes. |
➤ PJ commented: Tammy Yang Yes, I haven't implemented these endpoints since the design is different from the miro flow: https://miro.com/app/board/o9J_knFcMnw=/?moveToWidget=3458764520664359089&cot=14 ( https://miro.com/app/board/o9J_knFcMnw=/?moveToWidget=3458764520664359089&cot=14 ) . If the spec proposed above works for you, I will implement 'order-create' and 'order-update' API in numbers-upvote tomorrow. |
➤ Tammy Yang commented: User story for Scott Yan As a 0xAvenue developer, I need APIs and clear instructions so that I know how to create Capture App network action with Numbers together. |
➤ Sherry Chung commented: Scott Yan 明天這裡會有一個多餘的測試 |
➤ PJ commented: QA Test Detail: [order-update] return: TESTING DATA: Suggest testing steps:
|
➤ Tammy Yang commented: 請問這個項目的進度? |
➤ PJ commented: Tammy Yang waiting for ‘extend network action to redirect to other side’ |
➤ Tammy Yang commented: Add it to dependency |
➤ PJ commented: Tammy Yang We can choose to let 0xAvenue use
Personally I think it's clearer with the workflow way. |
➤ PJ commented: In both ways the APIs are implemented and can be tested |
➤ Tammy Yang commented: If it is GET. it should be GET instead of POST (i.e. using default API instead of creating workflow) unless there is a very good reason (for example, we want to control the API key or we want to add customized field) In this case, I think it does not worth maintaining the workflow API, I will choose the Data API |
➤ PJ commented: OK, 今天會完成給0xAvenue的spec跟提交QA Test |
➤ Tammy Yang commented: PJ spec 有草稿嗎? 希望長類似這樣 |
➤ PJ commented: Tammy Yang 沒問題,會做類似這樣的 |
➤ Tammy Yang commented: PJ 請問這個 task 完成了嗎 |
➤ PJ commented: 0xAvenue Network Action: User clicks capture → More Network Action → 0xAvenue Action When confirm, Redirects to https://www.0xavenue.io/launch?cid={cid}&order_id={order_id} ( https://www.0xavenue.io/launch?cid={cid}&order_id={order_id} ) and the result_url will be https://0xavenue.io/launch/?channel=numbers&order_id={order_id} |
➤ Tammy Yang commented: Wiki: https://github.com/numbersprotocol/enterprise-service/wiki/3.-Capture-Network-Action ( https://github.com/numbersprotocol/enterprise-service/wiki/3.-Capture-Network-Action ) PJ the information you provide is very good. Can you please add them to wiki as well? (remove 0xaveneue and make it more general) |
➤ Tammy Yang commented: Sherry Chung let us know if you need anything more |
➤ PJ commented: Sherry ChungTammy Yang 這邊有一個問題,0xAvenue希望我們打過去的url是 https://www.0xavenue.io/launch?channel=numbers&order_id={order_id} ( https://www.0xavenue.io/launch?channel=numbers&order_id={order_id} ) 如果要配合他們,需要在App端修改,或是跟他們開會討論 |
➤ PJ commented: Tammy Yang 可以,但我目前不確定這版是不是最終版 |
➤ PJ commented: 我會先送QA 測試 如果正常的話,再跟對方討論url細節 |
➤ Sherry Chung commented: PJ url 的部分你提議的 1 or 2 都可以。如果我們沒有其他考量,我建議 #2 |
➤ PJ commented: Sherry Chung那我改成2的模式,連同result_url一起更改為一致囉 capture app would open this page in browser when action triggers: and the result for printing merch would be the same |
➤ Tammy Yang commented: PJ 不是,是希望例如說明
類似這樣 |
➤ PJ commented: updated document. |
➤ PJ commented: 0527 更新lambda proxy for data api |
➤ Scott Yan commented: Sherry Chung 0527 qa 測試通過 |
➤ Sherry Chung commented: PJ 抱歉我詢問一下你之前的訊息
這兩個網址是我們已經確定的,我需要提供給對方工程師的嗎? 所以對方需要建立這兩個網頁? 還是第二個網址是 Optional ? |
➤ PJ commented: Sherry Chung Optional, 可以統一採第一個的格式沒問題 |
Tammy Yang According to the discussion today, we'll need to provide
不確定需要多少時間,我先設定週四 due
Ref: https://app.mural.co/t/numbersprotocol9275/m/numbersprotocol9275/1646379754948/0b16b8d2651ecc391772e46c4c70b332b16f3193?sender=u35598127f07f9403e0a66899
┆Issue is synchronized with this Asana task by Unito
┆Created By: Sherry Chung
The text was updated successfully, but these errors were encountered: