This is the Murdock API
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named murdock-api
and add the following to Cargo.toml
under [dependencies]
:
murdock-api = { path = "./murdock-api" }
All URIs are relative to http://localhost
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- BranchJobApi | jobgetlastbranchbadgehandlerjobbranchbranchbadgeget | GET /job/branch/{branch}/badge | Return the last job badge of the given branch BranchJobApi | jobgetlastbranchhandlerjobbranchbranchget | GET /job/branch/{branch} | Return the last job of the given branch BranchJobApi | jobstartbranchhandlerjobbranchpost | POST /job/branch | Start a manual job on a branch CommitJobApi | jobgetlastcommithandlerjobcommitshaget | GET /job/commit/{sha} | Return the last job of the given commit CommitJobApi | jobstartcommithandlerjobcommitpost | POST /job/commit | Start a manual job on a tag JobApi | jobhandlerjobuidget | GET /job/{uid} | Return the details of a job JobApi | jobremovehandlerjobuiddelete | DELETE /job/{uid} | Remove a job *JobApi* | jobrestarthandlerjobuidpost | POST /job/{uid} | Restart a finished job JobApi | runningjobstatushandlerjobuidstatusput | PUT /job/{uid}/status | Update the status of a running job *JobsApi* | finishedjobdeletehandlerjobsdelete | DELETE /jobs | Removed finished jobs older than 'before' date JobsApi | jobshandlerjobsget | GET /jobs | Return the list of all jobs *PrJobApi* | jobgetlastprnumhandlerjobprprnumget | GET /job/pr/{prnum} | Return the last job of the given PR number *TagJobApi* | jobgetlasttaghandlerjobtagtagget | GET /job/tag/{tag} | Return the last job of the given tag *TagJobApi* | jobstarttaghandlerjobtag_post | POST /job/tag | Start a manual job on a tag
To get access to the crate's generated documentation, use:
cargo doc --open