Skip to content
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

Add Proposals API #212

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Add Proposals API #212

wants to merge 3 commits into from

Conversation

Rashmi-278
Copy link
Member

@Rashmi-278 Rashmi-278 commented Mar 14, 2024

Summary

Add /api/v1/boardroom/members/<network>/<id>

  • SST AWS API deployed
  • Changes to existing API endpoints are reflected but new API routes give 404

Copy link

netlify bot commented Mar 14, 2024

Deploy Preview for whimsical-cuchufli-3a5565 canceled.

Name Link
🔨 Latest commit ec6516f
🔍 Latest deploy log https://app.netlify.com/sites/whimsical-cuchufli-3a5565/deploys/65f2c5cd04b264000879cce3

@Rashmi-278
Copy link
Member Author

Rashmi-278 commented Mar 14, 2024

Main API: https://services.daostar.org/api/v1/boardroom/members/10/optimism

Fallback API: https://proposalsuri.daostar.org/api/v1/boardroom/proposals/10/optimism

Issues

Main API, despite being added to Amazon API route, gives 404

Here's details on the checks I performed.

Proposal URI service by DAOstar.org

Main API: https://services.daostar.org/api/v1/boardroom/members/10/optimism

Fallback API: https://proposalsuri.daostar.org/api/v1/boardroom/proposals/10/optimism

Repo: https://github.com/metagov/ProposalsURI

Issues

Main API, despite being added to Amazon API route, gives 404

Here's details on the checks I performed.

1. Followed the build deployment instructions accordingly

https://docs.daostar.org/Tech%20Infrastructure#daostar-api-services-backend

2. Build and Deployed Successfully

Build: image

Deploy:
image

3. CloudFormation Updated

image

AWS API Gateway route check

Route exists on API

image

AWS Lamda Updated

image

Lamda functions exist for the route:

https://us-east-1.console.aws.amazon.com/lambda/home?region=us-east-1#/functions/prod-rest-api-MyStack-ApiLambdaGETboardroomproposa-LDzpI2rzSzcJ?tab=code

image

Still it throws 404 error

@Rashmi-278
Copy link
Member Author

Needs review as this PR is old and may have lost relevance

@Rashmi-278 Rashmi-278 marked this pull request as draft February 3, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant