MeApi

public interface MeApi implements WithApiKey

Connected user related operations

Functions

deleteClearApikey
Link copied to clipboard
abstract Flow<DgfrCallState<Boolean>> deleteClearApikey()

Clear/destroy an apikey

deleteMe
Link copied to clipboard
abstract Flow<DgfrCallState<Boolean>> deleteMe()

Delete my profile

getMe
Link copied to clipboard
abstract Flow<DgfrCallState<Me>> getMe()

Fetch the current user (me) identity

getMyDatasets
Link copied to clipboard
abstract Flow<DgfrCallState<List<Dataset>>> getMyDatasets()

List all my datasets (including private ones)

getMyMetrics
Link copied to clipboard
abstract Flow<DgfrCallState<List<MyMetrics>>> getMyMetrics()

Fetch the current user (me) metrics

getMyOrgCommunityResources
Link copied to clipboard
abstract Flow<DgfrCallState<List<CommunityResource>>> getMyOrgCommunityResources(String q)

List all community resources related to me and my organizations

getMyOrgDatasets
Link copied to clipboard
abstract Flow<DgfrCallState<List<Dataset>>> getMyOrgDatasets(String q)

List all datasets related to me and my organizations

getMyOrgDiscussions
Link copied to clipboard
abstract Flow<DgfrCallState<List<Discussion>>> getMyOrgDiscussions(String q)

List all discussions related to my organizations

getMyOrgIssues
Link copied to clipboard
abstract Flow<DgfrCallState<List<Issue>>> getMyOrgIssues(String q)

List all issues related to my organizations

getMyOrgReuses
Link copied to clipboard
abstract Flow<DgfrCallState<List<Reuse>>> getMyOrgReuses(String q)

List all reuses related to me and my organizations

getMyReuses
Link copied to clipboard
abstract Flow<DgfrCallState<List<Reuse>>> getMyReuses()

List all my reuses (including private ones)

postGenerateApikey
Link copied to clipboard
abstract Flow<DgfrCallState<ApiKey>> postGenerateApikey()

(Re)Generate my API Key

postMyAvatar
Link copied to clipboard
abstract Flow<DgfrCallState<UploadedImage>> postMyAvatar(ByteArray file, String fileName, String contentType)

Upload a new avatar

putUpdateMe
Link copied to clipboard
abstract Flow<DgfrCallState<Me>> putUpdateMe(Me payload)

Update my profile

setApiKey
Link copied to clipboard
abstract Unit setApiKey(String apiKey)

Inheritors

DgfrService
Link copied to clipboard