# SWIFT API V1 ## Description This is version `0.0.1` of this API documentation. Last update on Oct 30, 2023. SWIFT est une plateforme de gestion qui permet aux équipes et aux membres du CRT d'avoir une infinité de services et de possibilités afin d'obtenir une couverture sur le territoire national et faciliter le travail humanitaire de nos chers membres et volontaires. ## Servers - DEV SERVER: http://localhost:3003/api/dev (DEV SERVER) - PROD SERVER: swift.croissant-rouge.org.tn/api/v1 (PROD SERVER) - STAGING SERVER: swift-staging.croissant-rouge.org.tn/api/v1 (STAGING SERVER) ## Authentication The API accepts 2 different authentication methods: - Bearer auth (http) - Noauth auth (http) ## Endpoints and operations ### [Auth](https://developers.croissant-rouge.org.tn/group/endpoint-auth.md) - [User Login](https://developers.croissant-rouge.org.tn/operation/operation-post-auth-login.md) - [Authentification Check](https://developers.croissant-rouge.org.tn/operation/operation-get-auth-check.md) - [Current User Infos](https://developers.croissant-rouge.org.tn/operation/operation-get-auth-current-user.md) - [Passwordless Login with code](https://developers.croissant-rouge.org.tn/operation/operation-get-auth-passwordless.md) - [Passwordless get code](https://developers.croissant-rouge.org.tn/operation/operation-post-auth-passwordless.md) ### [Courses](https://developers.croissant-rouge.org.tn/group/endpoint-courses.md) - [Add course Questions](https://developers.croissant-rouge.org.tn/operation/operation-post-courses-questions-parameter.md) - [Get All Public Courses](https://developers.croissant-rouge.org.tn/operation/operation-get-courses.md) - [Add new course](https://developers.croissant-rouge.org.tn/operation/operation-post-courses.md) - [Search For Public Course](https://developers.croissant-rouge.org.tn/operation/operation-get-courses-search.md) - [Search For Course with ID](https://developers.croissant-rouge.org.tn/operation/operation-get-courses-parameter.md) - [Modify Course](https://developers.croissant-rouge.org.tn/operation/operation-put-courses-parameter.md) - [Get All Courses With AUTH](https://developers.croissant-rouge.org.tn/operation/operation-get-courses-search-all.md) - [Publish a course](https://developers.croissant-rouge.org.tn/operation/operation-get-courses-parameter-publish.md) - [Set a course as darft](https://developers.croissant-rouge.org.tn/operation/operation-get-courses-parameter-to-draft.md) - [Get My Committee Courses](https://developers.croissant-rouge.org.tn/operation/operation-get-courses-committee.md) ### [Cpanel](https://developers.croissant-rouge.org.tn/group/endpoint-cpanel.md) - [Return Domains](https://developers.croissant-rouge.org.tn/operation/operation-get-cpanel-domains.md) - [Return Domains With Infos](https://developers.croissant-rouge.org.tn/operation/operation-get-cpanel-subdomain.md) - [Add new subdomain](https://developers.croissant-rouge.org.tn/operation/operation-post-cpanel-subdomain.md) - [get all db](https://developers.croissant-rouge.org.tn/operation/operation-get-cpanel-db.md) ### [Files](https://developers.croissant-rouge.org.tn/group/endpoint-files.md) - [Get A file](https://developers.croissant-rouge.org.tn/operation/operation-get-files-public-parameter.md) - [Add new file](https://developers.croissant-rouge.org.tn/operation/operation-post-files.md) - [Get My files](https://developers.croissant-rouge.org.tn/operation/operation-get-files-my-files.md) ### [Otp](https://developers.croissant-rouge.org.tn/group/endpoint-otp.md) - [Generate OTP](https://developers.croissant-rouge.org.tn/operation/operation-get-otp-generate.md) - [Verifiy OTP code](https://developers.croissant-rouge.org.tn/operation/operation-post-otp-verify.md) - [OTP change enabled status](https://developers.croissant-rouge.org.tn/operation/operation-put-otp-change-status.md) - [Validate OTP code](https://developers.croissant-rouge.org.tn/operation/operation-post-otp-validate.md) ### [Sms](https://developers.croissant-rouge.org.tn/group/endpoint-sms.md) - [Send single SMS](https://developers.croissant-rouge.org.tn/operation/operation-post-sms-single.md) - [Send Bulk SMS](https://developers.croissant-rouge.org.tn/operation/operation-post-sms-bulk.md) ### [Team](https://developers.croissant-rouge.org.tn/group/endpoint-team.md) - [Update User Infos By ID](https://developers.croissant-rouge.org.tn/operation/operation-put-team-parameter.md) - [Reset User Password By Admin](https://developers.croissant-rouge.org.tn/operation/operation-post-team-member-user-password.md) ### [Users](https://developers.croissant-rouge.org.tn/group/endpoint-users.md) - [Get current user activity Log](https://developers.croissant-rouge.org.tn/operation/operation-get-users-activity.md) - [Set Current User Avatar](https://developers.croissant-rouge.org.tn/operation/operation-post-users-avatar.md) - [Get My Commitee Users](https://developers.croissant-rouge.org.tn/operation/operation-get-users-my-committee-users.md) - [Get a User By ID](https://developers.croissant-rouge.org.tn/operation/operation-get-users-parameter.md) - [Change a User Status](https://developers.croissant-rouge.org.tn/operation/operation-put-users-user-status-parameter.md) - [Register new user](https://developers.croissant-rouge.org.tn/operation/operation-post-users-register.md) - [Reset user password Req](https://developers.croissant-rouge.org.tn/operation/operation-get-users-reset-password.md) - [Change password](https://developers.croissant-rouge.org.tn/operation/operation-put-users-reset-password.md) - [Reset user password](https://developers.croissant-rouge.org.tn/operation/operation-post-users-reset-password.md) [Powered by Bump.sh](https://bump.sh)