fix(docs): added new api documentation, updated current state#942
Open
tbogosavljevic wants to merge 8 commits into
Open
fix(docs): added new api documentation, updated current state#942tbogosavljevic wants to merge 8 commits into
tbogosavljevic wants to merge 8 commits into
Conversation
tbogosavljevic
commented
Mar 23, 2026
| - Unixtime Epoch time: `"create_time": "1571083003"` | ||
| - Unixtime Epoch time with nanoseconds: `"created_at": {"seconds": 1571063401, "nanos": 559492000}` | ||
| - Custom format: `YYYY-MM-DD HH:MM:SS.ffffffZ`, e.g.,`"2019-10-14 12:11:47.824128Z"` | ||
| - All API requests must set the User-Agent to `SemaphoreCI v2.0 Client`. |
Collaborator
Author
There was a problem hiding this comment.
This is not actually enforced by API it seems, so I removed it.
Collaborator
Author
|
I have not figured out:
|
loadez
previously approved these changes
Apr 21, 2026
dexyk
requested changes
Apr 22, 2026
Collaborator
Author
|
@dexyk I add the changes about the artifacts API documentation from main branch here: fix(docs): added new api documentation, updated current state to match api If it looks well, please re-review and we can merge this PR in, thanks! 🙇 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
Our public API documentation was out of date in a few places. This PR updates
docs/docs/reference/api.mdto better match the current behavior of the Semaphor API.This includes:
POST /api/v1alpha/projectsto create a projectGET /api/v1alpha/projectsto list projectsGET /api/v1alpha/jobsto list jobsGET /api/v1alpha/jobs/:job_id/debug_ssh_keyto fetch a debug SSH key for a running debug jobPOST /api/v1alpha/jobs/:job_id/debugto start a debug jobGET /api/v1alpha/dashboardsto list dashboardsGET /api/v1alpha/dashboards/:id_or_nameto describe a dashboardGET /api/v1alpha/notificationsto list notificationsGET /api/v1alpha/notifications/:notification_id_or_nameto describe a notificationGET /api/v1beta/secretsto list organization secretsGET /api/v1beta/secrets/:secret_id_or_nameto describe an organization secretGET /api/v1/projects/:project_id_or_name/secretsto list project secretsGET /api/v1/projects/:project_id_or_name/secrets/:secret_id_or_nameto describe a project secretPOST /api/v1/artifactsto generate signed artifact URLsPLEASE NOTE: I have tested each of the endpoints to get the data. For some endpoints (mostly the new ones), I deemed it better to include a "request payload" instead of the parameters, since some of them were a bit more complex, and I was unsure how to structure the parameters.
✅ Checklist