You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix markdownlint errors: align tables, add code block language
- Align table columns to satisfy MD060 (table-column-style)
- Add `text` language specifier to fenced code blocks for MD040
- Fix empty cell spacing in query parameters table
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
| Red | Failed, canceled, or timed-out deployment |
51
-
| Blue | Deployment in progress or other states |
52
-
| Gray | No deployment found |
51
+
| Blue | Deployment in progress or other states |
52
+
| Gray | No deployment found |
53
53
54
54
## API endpoints
55
55
@@ -59,26 +59,26 @@ You can also build badge URLs manually. Both endpoints are anonymous and don't r
59
59
60
60
Returns an SVG image you can embed directly:
61
61
62
-
```
62
+
```text
63
63
GET /api/{spaceId}/projects/{projectSlug}/badge/{environmentSlug}/latest_release
64
64
```
65
65
66
66
### JSON endpoint
67
67
68
68
Returns badge data as JSON. You can use this endpoint to externalize badge rendering through third-party services like [shields.io](https://shields.io), which offloads requests from your Octopus Server.
69
69
70
-
```
70
+
```text
71
71
GET /api/{spaceId}/projects/{projectSlug}/badge/{environmentSlug}/latest_release.json
72
72
```
73
73
74
74
### Query parameters
75
75
76
-
| Parameter | Default | Description |
77
-
|-----------|---------|-------------|
78
-
|`label`|`environment`| The text on the left side: `environment`, `project`, or `release`|
79
-
|`style`|`flat`| The badge style: `flat` or `flat-square`|
80
-
|`includeFailed`|`false`| Include failed, canceled, or timed-out releases |
81
-
|`tenantId`|| Filter by a specific tenant for multi-tenant deployments |
0 commit comments