Table of Contents

Interface ISURFSharekitApiClient

Namespace
SURFSharekit.Net
Assembly
SURFSharekit.Net.dll
public interface ISURFSharekitApiClient

Methods

GetAllRepoItems()

Get all SURFSharekitRepoItems accessible to the token

Task<List<SURFSharekitRepoItem>> GetAllRepoItems()

Returns

Task<List<SURFSharekitRepoItem>>

GetRepoItemById(string)

Get a specific SURFSharekitRepoItem

Task<SURFSharekitRepoItem> GetRepoItemById(string id)

Parameters

id string

Returns

Task<SURFSharekitRepoItem>

SetBearerToken(string)

Sets the bearer token for all subsequent requests. Call this before calling other methods if authentication is required.

void SetBearerToken(string bearerToken)

Parameters

bearerToken string