Skip to content

Public API docs for fetching the list of project is out of date #867

@infomiho

Description

@infomiho

The info on this page is out of date: https://docs.railway.com/guides/manage-projects

Help thread that I found that explains the problem: https://station.railway.com/questions/cant-fetch-all-projects-from-api-c9325eeb

GraphQL query that worked for me with an account token:

query MyQuery {
  workspace(workspaceId: "<workspace_id>") {
    projects {
      edges {
        node {
          name
          id
        }
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions