Nova Requester

class NovaRequester(host: String, userId: String? = null, userToken: String? = null, debugMode: Boolean = false)

The NovaRequester class is useful to communicate with the Nova's backend

Author

N7ghtm4r3 - Tecknobit

Parameters

host

: the host where is running the Nova's backend

userId

: the user identifier

userToken

: the user token

debugMode

: whether the requester is still in development and who is developing needs the log of the requester's workflow, if it is enabled all the details of the requests sent and the errors occurred will be printed in the console

Constructors

Link copied to clipboard
constructor(host: String, userId: String? = null, userToken: String? = null, debugMode: Boolean = false)

Functions

Link copied to clipboard
fun addMembers(projectId: String, invitedMembers: SnapshotStateList<Pair<String, <Error class: unknown class>>>): <Error class: unknown class>

Function to execute the request to add new members to a project

Link copied to clipboard
fun addProject(logoPic: String, projectTitle: String, members: List<String>): <Error class: unknown class>

Function to execute the request to add a new project

Link copied to clipboard
fun addRelease(projectId: String, releaseVersion: String, releaseNotes: String): <Error class: unknown class>

Function to execute the request to add a new release

Link copied to clipboard
fun approveAssets(projectId: String, releaseId: String, eventId: String): <Error class: unknown class>

Function to execute the request to approve the last assets uploaded

Link copied to clipboard
fun createReportRelease(projectId: String, releaseId: String): <Error class: unknown class>

Function to execute the request to create a release report

Link copied to clipboard
fun deleteProject(projectId: String): <Error class: unknown class>

Function to execute the request to delete a project

Link copied to clipboard
fun deleteRelease(projectId: String, releaseId: String): <Error class: unknown class>

Function to execute the request to delete a release

Link copied to clipboard
fun editProject(project: <Error class: unknown class>, logoPic: String?, projectTitle: String, members: List<String>): <Error class: unknown class>
fun editProject(projectId: String, logoPic: String?, projectTitle: String, members: List<String>): <Error class: unknown class>

Function to execute the request to edit an existing project

Link copied to clipboard
fun editRelease(project: <Error class: unknown class>, release: <Error class: unknown class>, releaseVersion: String, releaseNotes: String): <Error class: unknown class>
fun editRelease(projectId: String, releaseId: String, releaseVersion: String, releaseNotes: String): <Error class: unknown class>

Function to execute the request to edit an existing release

Link copied to clipboard
fun fillRejectedTag(projectId: String, releaseId: String, eventId: String, tagId: String, comment: String): <Error class: unknown class>

Function to execute the request to fill a rejected tag

Link copied to clipboard
fun getNotifications(): <Error class: unknown class>

Function to execute the request to get the user notifications

Link copied to clipboard
fun getPotentialMembers(): <Error class: unknown class>

Function to execute the request to get the potential members for a Project

Link copied to clipboard
fun getProject(projectId: String): <Error class: unknown class>

Function to execute the request to get an existing project

Link copied to clipboard
fun getRelease(projectId: String, releaseId: String): <Error class: unknown class>

Function to execute the request to get an existing release

Link copied to clipboard
fun joinWithCode(joinCode: String, email: String, name: String, surname: String, password: String, role: <Error class: unknown class>): <Error class: unknown class>

Function to execute the request to join in a project using a textual join code

Link copied to clipboard
fun joinWithId(id: String, email: String, name: String, surname: String, password: String, role: <Error class: unknown class>): <Error class: unknown class>

Function to execute the request to join in a project by the identifier

Link copied to clipboard
fun leaveProject(projectId: String): <Error class: unknown class>

Function to execute the request to leave from a project

Link copied to clipboard
fun listProjects(): <Error class: unknown class>

Function to execute the request to list the projects of the user

Link copied to clipboard
fun markAsTester(projectId: String, memberId: String): <Error class: unknown class>

Function to execute the request to mark a member of the project as tester

Link copied to clipboard
fun promoteRelease(projectId: String, releaseId: String, releaseStatus: <Error class: unknown class>): <Error class: unknown class>

Function to execute the request to promote a release

Link copied to clipboard
fun rejectAssets(projectId: String, releaseId: String, eventId: String, reasons: String, tags: List<<Error class: unknown class>>): <Error class: unknown class>

Function to execute the request to reject the last assets uploaded

Link copied to clipboard
fun removeMember(projectId: String, memberId: String): <Error class: unknown class>

Function to execute the request to remove a member from a project

Link copied to clipboard
fun uploadAsset(projectId: String, releaseId: String, comment: String, assets: List<<Error class: unknown class>>): <Error class: unknown class>

Function to execute the request to upload assets to a release