Skip to content

Add _version field to content-system builds API #9

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MattMills
Copy link

Example output:

GET https://content-system.gog.com/products/1508702879/os/windows/builds?_version=2&generation=2

{
    "total_count": 243,
    "count": 5,
    "items": [
        {
            "build_id": "55566069976468183",
            "product_id": "1508702879",
            "os": "windows",
            "branch": null,
            "version_name": "3.4.5",
            "tags": [
                "csb_10_6_1_l_158"
            ],
            "public": true,
            "date_published": "2022-06-27T07:09:44+0000",
            "generation": 2,
            "urls": [
                {
                    "endpoint_name": "lumen",
                    "url": "https:\/\/gog-cdn-lumen.secure2.footprint.net\/content-system\/v2\/meta\/f5\/34\/f5342019726596f3e6141b7a197468f1",
                    "url_format": "https:\/\/gog-cdn-lumen.secure2.footprint.net\/content-system\/v2\/meta\/f5\/34\/f5342019726596f3e6141b7a197468f1",
                    "parameters": {},
                    "priority": 998,
                    "max_fails": 100,
                    "supports_generation": [
                        1,
                        2
                    ]
                },
                {
                    "endpoint_name": "edgecast",
                    "url": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/f5\/34\/f5342019726596f3e6141b7a197468f1",
                    "url_format": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/f5\/34\/f5342019726596f3e6141b7a197468f1",
                    "parameters": {},
                    "priority": 1,
                    "max_fails": 100,
                    "supports_generation": [
                        2
                    ]
                },
                {
                    "endpoint_name": "high_winds",
                    "url": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/f5\/34\/f5342019726596f3e6141b7a197468f1",
                    "url_format": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/f5\/34\/f5342019726596f3e6141b7a197468f1",
                    "parameters": {},
                    "priority": 1,
                    "max_fails": 10,
                    "supports_generation": [
                        2
                    ]
                }
            ]
        },
        {
            "build_id": "55547762318082476",
            "product_id": "1508702879",
            "os": "windows",
            "branch": null,
            "version_name": "3.4.4.2",
            "tags": [
                "csb_10_6_1_l_158"
            ],
            "public": true,
            "date_published": "2022-06-17T08:48:14+0000",
            "generation": 2,
            "urls": [
                {
                    "endpoint_name": "lumen",
                    "url": "https:\/\/gog-cdn-lumen.secure2.footprint.net\/content-system\/v2\/meta\/af\/ce\/afcea9ea5f25648711bcc7502034d549",
                    "url_format": "https:\/\/gog-cdn-lumen.secure2.footprint.net\/content-system\/v2\/meta\/af\/ce\/afcea9ea5f25648711bcc7502034d549",
                    "parameters": {},
                    "priority": 998,
                    "max_fails": 100,
                    "supports_generation": [
                        1,
                        2
                    ]
                },
                {
                    "endpoint_name": "edgecast",
                    "url": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/af\/ce\/afcea9ea5f25648711bcc7502034d549",
                    "url_format": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/af\/ce\/afcea9ea5f25648711bcc7502034d549",
                    "parameters": {},
                    "priority": 1,
                    "max_fails": 100,
                    "supports_generation": [
                        2
                    ]
                },
                {
                    "endpoint_name": "high_winds",
                    "url": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/af\/ce\/afcea9ea5f25648711bcc7502034d549",
                    "url_format": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/af\/ce\/afcea9ea5f25648711bcc7502034d549",
                    "parameters": {},
                    "priority": 1,
                    "max_fails": 10,
                    "supports_generation": [
                        2
                    ]
                }
            ]
        },
        {
            "build_id": "55459310929764144",
            "product_id": "1508702879",
            "os": "windows",
            "branch": null,
            "version_name": "3.4.3",
            "tags": [
                "csb_10_6_1_l_158"
            ],
            "public": true,
            "date_published": "2022-05-18T04:39:34+0000",
            "generation": 2,
            "urls": [
                {
                    "endpoint_name": "lumen",
                    "url": "https:\/\/gog-cdn-lumen.secure2.footprint.net\/content-system\/v2\/meta\/ac\/a4\/aca4806d558e6e6f4823050da0091826",
                    "url_format": "https:\/\/gog-cdn-lumen.secure2.footprint.net\/content-system\/v2\/meta\/ac\/a4\/aca4806d558e6e6f4823050da0091826",
                    "parameters": {},
                    "priority": 998,
                    "max_fails": 100,
                    "supports_generation": [
                        1,
                        2
                    ]
                },
                {
                    "endpoint_name": "edgecast",
                    "url": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/ac\/a4\/aca4806d558e6e6f4823050da0091826",
                    "url_format": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/ac\/a4\/aca4806d558e6e6f4823050da0091826",
                    "parameters": {},
                    "priority": 1,
                    "max_fails": 100,
                    "supports_generation": [
                        2
                    ]
                },
                {
                    "endpoint_name": "high_winds",
                    "url": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/ac\/a4\/aca4806d558e6e6f4823050da0091826",
                    "url_format": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/ac\/a4\/aca4806d558e6e6f4823050da0091826",
                    "parameters": {},
                    "priority": 1,
                    "max_fails": 10,
                    "supports_generation": [
                        2
                    ]
                }
            ]
        },
        {
            "build_id": "55424009746572469",
            "product_id": "1508702879",
            "os": "windows",
            "branch": null,
            "version_name": "3.4.2",
            "tags": [
                "csb_10_6_1_l_158"
            ],
            "public": true,
            "date_published": "2022-05-06T07:42:35+0000",
            "generation": 2,
            "urls": [
                {
                    "endpoint_name": "lumen",
                    "url": "https:\/\/gog-cdn-lumen.secure2.footprint.net\/content-system\/v2\/meta\/d7\/2f\/d72f2675f7fd64b33171367625480524",
                    "url_format": "https:\/\/gog-cdn-lumen.secure2.footprint.net\/content-system\/v2\/meta\/d7\/2f\/d72f2675f7fd64b33171367625480524",
                    "parameters": {},
                    "priority": 998,
                    "max_fails": 100,
                    "supports_generation": [
                        1,
                        2
                    ]
                },
                {
                    "endpoint_name": "edgecast",
                    "url": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/d7\/2f\/d72f2675f7fd64b33171367625480524",
                    "url_format": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/d7\/2f\/d72f2675f7fd64b33171367625480524",
                    "parameters": {},
                    "priority": 1,
                    "max_fails": 100,
                    "supports_generation": [
                        2
                    ]
                },
                {
                    "endpoint_name": "high_winds",
                    "url": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/d7\/2f\/d72f2675f7fd64b33171367625480524",
                    "url_format": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/d7\/2f\/d72f2675f7fd64b33171367625480524",
                    "parameters": {},
                    "priority": 1,
                    "max_fails": 10,
                    "supports_generation": [
                        2
                    ]
                }
            ]
        },
        {
            "build_id": "55278246637459311",
            "product_id": "1508702879",
            "os": "windows",
            "branch": null,
            "version_name": "3.3.4",
            "tags": [
                "csb_10_6_1_l_158"
            ],
            "public": true,
            "date_published": "2022-03-16T08:53:01+0000",
            "generation": 2,
            "urls": [
                {
                    "endpoint_name": "lumen",
                    "url": "https:\/\/gog-cdn-lumen.secure2.footprint.net\/content-system\/v2\/meta\/d4\/82\/d482785780a44c71c79c4579f32a52c3",
                    "url_format": "https:\/\/gog-cdn-lumen.secure2.footprint.net\/content-system\/v2\/meta\/d4\/82\/d482785780a44c71c79c4579f32a52c3",
                    "parameters": {},
                    "priority": 998,
                    "max_fails": 100,
                    "supports_generation": [
                        1,
                        2
                    ]
                },
                {
                    "endpoint_name": "edgecast",
                    "url": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/d4\/82\/d482785780a44c71c79c4579f32a52c3",
                    "url_format": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/d4\/82\/d482785780a44c71c79c4579f32a52c3",
                    "parameters": {},
                    "priority": 1,
                    "max_fails": 100,
                    "supports_generation": [
                        2
                    ]
                },
                {
                    "endpoint_name": "high_winds",
                    "url": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/d4\/82\/d482785780a44c71c79c4579f32a52c3",
                    "url_format": "https:\/\/cdn.gog.com\/content-system\/v2\/meta\/d4\/82\/d482785780a44c71c79c4579f32a52c3",
                    "parameters": {},
                    "priority": 1,
                    "max_fails": 10,
                    "supports_generation": [
                        2
                    ]
                }
            ]
        }
    ],
    "has_private_branches": true
}

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