2 releases
0.1.3 | Oct 30, 2024 |
---|---|
0.1.2 | Oct 30, 2024 |
#740 in Web programming
Used in jeera
58KB
1K
SLoC
Rust API client for openapi
Teams Public 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.
- API version: 1.0
- Package version: 1.0
- Generator version: 7.9.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named openapi
and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./openapi" }
Documentation for API Endpoints
All URIs are relative to https://soupcop.atlassian.net
Class | Method | HTTP request | Description |
---|---|---|---|
TeamsMembersPublicApiApi | add_members2 | POST /gateway/api/public/teams/v1/org/{orgId}/teams/{teamId}/members/add | Add a set of membership(s). |
TeamsMembersPublicApiApi | fetch_members | POST /gateway/api/public/teams/v1/org/{orgId}/teams/{teamId}/members | Fetch a set of membership(s). |
TeamsMembersPublicApiApi | remove_members1 | POST /gateway/api/public/teams/v1/org/{orgId}/teams/{teamId}/members/remove | Remove a set of membership(s). |
TeamsPublicApiApi | create_team | POST /gateway/api/public/teams/v1/org/{orgId}/teams/ | Create a team. |
TeamsPublicApiApi | delete_team2 | DELETE /gateway/api/public/teams/v1/org/{orgId}/teams/{teamId} | Delete a team. |
TeamsPublicApiApi | get_team2 | GET /gateway/api/public/teams/v1/org/{orgId}/teams/{teamId} | Get a single team. |
TeamsPublicApiApi | query_teams | GET /gateway/api/public/teams/v1/org/{orgId}/teams | Get a list of teams. |
TeamsPublicApiApi | restore_team | POST /gateway/api/public/teams/v1/org/{orgId}/teams/{teamId}/restore | Restore a single soft-deleted team |
TeamsPublicApiApi | update_team1 | PATCH /gateway/api/public/teams/v1/org/{orgId}/teams/{teamId} | Modify a team. |
TeamsPublicApiApi | upload_and_set_team_cover_photo | PUT /gateway/api/public/teams/v1/{teamId}/cover-photo | Upload a team cover photo |
Documentation For Models
- PublicApiAddMemberError
- PublicApiFetchResponsePublicApiMembershipAccountId
- PublicApiMemberNotFoundError
- PublicApiMembership
- PublicApiMembershipAddPayload
- PublicApiMembershipAddResponse
- PublicApiMembershipAddResponseErrorsInner
- PublicApiMembershipCodedError
- PublicApiMembershipFetchPayload
- PublicApiMembershipRemovePayload
- PublicApiMembershipRemoveResponse
- PublicApiOverallCodedError
- PublicApiPageInfoAccountId
- PublicApiRemoveMemberError
- PublicApiTeam
- PublicApiTeamCreationPayload
- PublicApiTeamPaginationResult
- PublicApiTeamResponse
- PublicApiTeamResponseWithMembers
- PublicApiTeamUpdatePayload
- PublicApiUserPermissions
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~5–16MB
~206K SLoC