latestSwagger 2.02026-08-1095121164.0 KB

94758829689e

users

List Upstreams

Lists all upstreams available to a specific user. Returns information about upstream repositories.

get/v0/users/{user_id}/upstreams

Path parameters

user_idstring required

User UUID

Response

Example response

{
  "upstreams": [
    {
      "description": "WordPress on Pantheon",
      "framework": "wordpress",
      "id": "e8fe8550-1ab9-4964-8838-2b9abdccf4bf",
      "label": "WordPress",
      "machine_name": "wordpress",
      "organization_id": "12345678-90ab-cdef-1234-567890abcdef",
      "repository_url": "https://github.com/pantheon-systems/WordPress",
      "type": "core"
    }
  ]
}