Skip to main content

NoteApi

valkyrai-api

All URIs are relative to http://localhost:8080/v1

MethodHTTP requestDescription
deleteNoteDELETE NoteApiDelete a Note.

deleteNote

Void
deleteNote(id)

Delete a Note.

Deletes a specific Note.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.NoteApi;


NoteApi apiInstance = new NoteApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Note.

try {
Void result = apiInstance.deleteNote(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NoteApi#deleteNote");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Note.

Return type

Void

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

getNote

Note
getNote(id)

Retrieve a single Note

Retrieves a single Note for a specific uid.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.NoteApi;


NoteApi apiInstance = new NoteApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Note.

try {
Note result = apiInstance.getNote(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NoteApi#getNote");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Note.

Return type

Note

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getNoteList

Note
getNoteList()

Retrieve a list of Notes

Retrieves a list of Notes.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.NoteApi;


NoteApi apiInstance = new NoteApi();

try {
Note result = apiInstance.getNoteList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NoteApi#getNoteList");
e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

Note

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

postNote

Note
postNote(note)

Create a new Note

Creates a new Note.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.NoteApi;


NoteApi apiInstance = new NoteApi();
Note note = new Note(); // Note | Note details.

try {
Note result = apiInstance.postNote(note);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NoteApi#postNote");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
noteNoteNote details.

Return type

Note

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

updateNote

Note
updateNote(idnote)

Update an existing Note

Updates an existing Note.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.NoteApi;


NoteApi apiInstance = new NoteApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the Note.
Note note = new Note(); // Note | Updated Note details.

try {
Note result = apiInstance.updateNote(idnote);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NoteApi#updateNote");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the Note.
noteNoteUpdated Note details.

Return type

Note

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-04-09T20:27:13.881184-07:00[America/Los_Angeles]