flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

Commit

API reference examples use projects

The secrets examples sent and showed the field as repositories; it is projects since secrets and variables belong to projects, and a repository's rows have the scope project. The docs' copy of the OpenAPI document is regenerated.

syntaqxcommitted Parent9da8e92Browse files
2 files+46−460/2 viewed
+17−17
17591759 "workflows"
17601760 ],
17611761 "environments": [],
1762− "repositories": [],
1762+ "projects": [],
17631763 "note": null,
17641764 "updatedBy": "syntaqx"
17651765 },
17681768 "name": "STRIPE_KEY",
17691769 "kind": "secret",
17701770 "value": null,
1771− "scope": "repository",
1771+ "scope": "project",
17721772 "updatedAt": "2026-10-04T15:42:07.318Z",
17731773 "availableTo": [
17741774 "workflows",
17771777 "environments": [
17781778 "production"
17791779 ],
1780− "repositories": [],
1780+ "projects": [],
17811781 "note": "Rotate in the Stripe dashboard.",
17821782 "updatedBy": "syntaqx"
17831783 }
18001800 "workflows"
18011801 ],
18021802 "environments": [],
1803− "repositories": [],
1803+ "projects": [],
18041804 "note": null,
18051805 "updatedBy": "syntaqx"
18061806 }
18261826 "name": "STRIPE_KEY",
18271827 "kind": "secret",
18281828 "value": null,
1829− "scope": "repository",
1829+ "scope": "project",
18301830 "updatedAt": "2026-10-04T15:42:07.318Z",
18311831 "availableTo": [
18321832 "workflows",
18351835 "environments": [
18361836 "production"
18371837 ],
1838− "repositories": [],
1838+ "projects": [],
18391839 "note": null,
18401840 "updatedBy": "syntaqx"
18411841 },
18481848 },
18491849 "request": {
18501850 "value": "npm_…",
1851− "repositories": [
1851+ "projects": [
18521852 "hello"
18531853 ]
18541854 },
18631863 "workflows"
18641864 ],
18651865 "environments": [],
1866− "repositories": [
1866+ "projects": [
18671867 "hello"
18681868 ],
18691869 "note": null,
18901890 "name": "NODE_VERSION",
18911891 "kind": "variable",
18921892 "value": "20",
1893− "scope": "repository",
1893+ "scope": "project",
18941894 "updatedAt": "2026-10-04T15:42:07.318Z",
18951895 "availableTo": [
18961896 "workflows",
18971897 "deployments"
18981898 ],
18991899 "environments": [],
1900− "repositories": [],
1900+ "projects": [],
19011901 "note": null,
19021902 "updatedBy": "syntaqx"
19031903 }
19211921 "deployments"
19221922 ],
19231923 "environments": [],
1924− "repositories": [],
1924+ "projects": [],
19251925 "note": null,
19261926 "updatedBy": "syntaqx"
19271927 }
19371937 "name": "NODE_VERSION",
19381938 "kind": "variable",
19391939 "value": "20",
1940− "scope": "repository",
1940+ "scope": "project",
19411941 "updatedAt": "2026-10-04T15:42:07.318Z",
19421942 "availableTo": [
19431943 "workflows",
19441944 "deployments"
19451945 ],
19461946 "environments": [],
1947− "repositories": [],
1947+ "projects": [],
19481948 "note": null,
19491949 "updatedBy": "syntaqx"
19501950 },
19701970 "deployments"
19711971 ],
19721972 "environments": [],
1973− "repositories": [],
1973+ "projects": [],
19741974 "note": null,
19751975 "updatedBy": "syntaqx"
19761976 }
19871987 "name": "NODE_VERSION",
19881988 "kind": "variable",
19891989 "value": "22",
1990− "scope": "repository",
1990+ "scope": "project",
19911991 "updatedAt": "2026-10-04T15:42:07.318Z",
19921992 "availableTo": [
19931993 "workflows",
19941994 "deployments"
19951995 ],
19961996 "environments": [],
1997− "repositories": [],
1997+ "projects": [],
19981998 "note": null,
19991999 "updatedBy": "syntaqx"
20002000 }
20192019 "deployments"
20202020 ],
20212021 "environments": [],
2022− "repositories": [],
2022+ "projects": [],
20232023 "note": null,
20242024 "updatedBy": "syntaqx"
20252025 }
+29−29
78567856 "workflows"
78577857 ],
78587858 "environments": [],
7859− "repositories": [],
7859+ "projects": [],
78607860 "note": null,
78617861 "updatedBy": "syntaqx"
78627862 },
78657865 "name": "STRIPE_KEY",
78667866 "kind": "secret",
78677867 "value": null,
7868− "scope": "repository",
7868+ "scope": "project",
78697869 "updatedAt": "2026-10-04T15:42:07.318Z",
78707870 "availableTo": [
78717871 "workflows",
78747874 "environments": [
78757875 "production"
78767876 ],
7877− "repositories": [],
7877+ "projects": [],
78787878 "note": "Rotate in the Stripe dashboard.",
78797879 "updatedBy": "syntaqx"
78807880 }
79797979 "name": "STRIPE_KEY",
79807980 "kind": "secret",
79817981 "value": null,
7982− "scope": "repository",
7982+ "scope": "project",
79837983 "updatedAt": "2026-10-04T15:42:07.318Z",
79847984 "availableTo": [
79857985 "workflows",
79887988 "environments": [
79897989 "production"
79907990 ],
7991− "repositories": [],
7991+ "projects": [],
79927992 "note": null,
79937993 "updatedBy": "syntaqx"
79947994 }
80798079 },
80808080 "description": "The environments it applies to, such as production and preview, or a workflow job's environment. Empty is every environment."
80818081 },
8082− "repositories": {
8082+ "projects": {
80838083 "type": "array",
80848084 "items": {
80858085 "type": "string"
80868086 },
8087− "description": "A workspace's row: the repositories it reaches, by name. Empty is every one."
8087+ "description": "A workspace's row: the projects it reaches, by slug. Empty is every one."
80888088 },
80898089 "note": {
80908090 "type": "string",
82878287 "name": "NODE_VERSION",
82888288 "kind": "variable",
82898289 "value": "20",
8290− "scope": "repository",
8290+ "scope": "project",
82918291 "updatedAt": "2026-10-04T15:42:07.318Z",
82928292 "availableTo": [
82938293 "workflows",
82948294 "deployments"
82958295 ],
82968296 "environments": [],
8297− "repositories": [],
8297+ "projects": [],
82988298 "note": null,
82998299 "updatedBy": "syntaqx"
83008300 }
83888388 "name": "NODE_VERSION",
83898389 "kind": "variable",
83908390 "value": "20",
8391− "scope": "repository",
8391+ "scope": "project",
83928392 "updatedAt": "2026-10-04T15:42:07.318Z",
83938393 "availableTo": [
83948394 "workflows",
83958395 "deployments"
83968396 ],
83978397 "environments": [],
8398− "repositories": [],
8398+ "projects": [],
83998399 "note": null,
84008400 "updatedBy": "syntaqx"
84018401 }
84908490 },
84918491 "description": "The environments it applies to, such as production and preview, or a workflow job's environment. Empty is every environment."
84928492 },
8493− "repositories": {
8493+ "projects": {
84948494 "type": "array",
84958495 "items": {
84968496 "type": "string"
84978497 },
8498− "description": "A workspace's row: the repositories it reaches, by name. Empty is every one."
8498+ "description": "A workspace's row: the projects it reaches, by slug. Empty is every one."
84998499 },
85008500 "note": {
85018501 "type": "string",
85738573 "name": "NODE_VERSION",
85748574 "kind": "variable",
85758575 "value": "22",
8576− "scope": "repository",
8576+ "scope": "project",
85778577 "updatedAt": "2026-10-04T15:42:07.318Z",
85788578 "availableTo": [
85798579 "workflows",
85808580 "deployments"
85818581 ],
85828582 "environments": [],
8583− "repositories": [],
8583+ "projects": [],
85848584 "note": null,
85858585 "updatedBy": "syntaqx"
85868586 }
86718671 },
86728672 "description": "The environments it applies to, such as production and preview, or a workflow job's environment. Empty is every environment."
86738673 },
8674− "repositories": {
8674+ "projects": {
86758675 "type": "array",
86768676 "items": {
86778677 "type": "string"
86788678 },
8679− "description": "A workspace's row: the repositories it reaches, by name. Empty is every one."
8679+ "description": "A workspace's row: the projects it reaches, by slug. Empty is every one."
86808680 },
86818681 "note": {
86828682 "type": "string",
88698869 "workflows"
88708870 ],
88718871 "environments": [],
8872− "repositories": [],
8872+ "projects": [],
88738873 "note": null,
88748874 "updatedBy": "syntaqx"
88758875 }
89748974 "workflows"
89758975 ],
89768976 "environments": [],
8977− "repositories": [
8977+ "projects": [
89788978 "hello"
89798979 ],
89808980 "note": null,
90679067 },
90689068 "description": "The environments it applies to, such as production and preview, or a workflow job's environment. Empty is every environment."
90699069 },
9070− "repositories": {
9070+ "projects": {
90719071 "type": "array",
90729072 "items": {
90739073 "type": "string"
90749074 },
9075− "description": "A workspace's row: the repositories it reaches, by name. Empty is every one."
9075+ "description": "A workspace's row: the projects it reaches, by slug. Empty is every one."
90769076 },
90779077 "note": {
90789078 "type": "string",
90829082 },
90839083 "example": {
90849084 "value": "npm_…",
9085− "repositories": [
9085+ "projects": [
90869086 "hello"
90879087 ]
90889088 }
92549254 "deployments"
92559255 ],
92569256 "environments": [],
9257− "repositories": [],
9257+ "projects": [],
92589258 "note": null,
92599259 "updatedBy": "syntaqx"
92609260 }
93499349 "deployments"
93509350 ],
93519351 "environments": [],
9352− "repositories": [],
9352+ "projects": [],
93539353 "note": null,
93549354 "updatedBy": "syntaqx"
93559355 }
94449444 },
94459445 "description": "The environments it applies to, such as production and preview, or a workflow job's environment. Empty is every environment."
94469446 },
9447− "repositories": {
9447+ "projects": {
94489448 "type": "array",
94499449 "items": {
94509450 "type": "string"
94519451 },
9452− "description": "A workspace's row: the repositories it reaches, by name. Empty is every one."
9452+ "description": "A workspace's row: the projects it reaches, by slug. Empty is every one."
94539453 },
94549454 "note": {
94559455 "type": "string",
95249524 "deployments"
95259525 ],
95269526 "environments": [],
9527− "repositories": [],
9527+ "projects": [],
95289528 "note": null,
95299529 "updatedBy": "syntaqx"
95309530 }
96159615 },
96169616 "description": "The environments it applies to, such as production and preview, or a workflow job's environment. Empty is every environment."
96179617 },
9618− "repositories": {
9618+ "projects": {
96199619 "type": "array",
96209620 "items": {
96219621 "type": "string"
96229622 },
9623− "description": "A workspace's row: the repositories it reaches, by name. Empty is every one."
9623+ "description": "A workspace's row: the projects it reaches, by slug. Empty is every one."
96249624 },
96259625 "note": {
96269626 "type": "string",