Rust API client for murdock-api

This is the Murdock API

Overview

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.

Installation

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" }

Documentation for API Endpoints

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

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author