Skip to main content

GrayMatterApi

valkyrai-api

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

MethodHTTP requestDescription
deleteGrayMatterDELETE GrayMatterApiDelete a GrayMatter.

deleteGrayMatter

Void
deleteGrayMatter(id)

Delete a GrayMatter.

Deletes a specific GrayMatter.

Example

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


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

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

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the GrayMatter.

Return type

Void

Authorization

No authorization required

HTTP request headers

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

getGrayMatter

GrayMatter
getGrayMatter(id)

Retrieve a single GrayMatter

Retrieves a single GrayMatter for a specific uid.

Example

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


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

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

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the GrayMatter.

Return type

GrayMatter

Authorization

No authorization required

HTTP request headers

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

getGrayMatterList

GrayMatter
getGrayMatterList(pagesizesort)

Retrieve a list of GrayMatters

Retrieves a list of GrayMatters.

Example

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


GrayMatterApi apiInstance = new GrayMatterApi();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |

try {
GrayMatter result = apiInstance.getGrayMatterList(pagesizesort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling GrayMatterApi#getGrayMatterList");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
pageInteger[optional] [default to 0]
sizeInteger[optional] [default to 20]
sortList<String>[optional]

Return type

GrayMatter

Authorization

No authorization required

HTTP request headers

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

patchGrayMatterById

GrayMatter
patchGrayMatterById(idgrayMatter)

Partially update an existing GrayMatter

Updates an existing GrayMatter.

Example

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


GrayMatterApi apiInstance = new GrayMatterApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the GrayMatter.
GrayMatter grayMatter = new GrayMatter(); // GrayMatter | Merge-patch fields for GrayMatter.

try {
GrayMatter result = apiInstance.patchGrayMatterById(idgrayMatter);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling GrayMatterApi#patchGrayMatterById");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the GrayMatter.
grayMatterGrayMatterMerge-patch fields for GrayMatter.

Return type

GrayMatter

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/merge-patch+jsonapplication/json-patch+jsonapplication/json
  • Accept: application/json

postGrayMatter

GrayMatter
postGrayMatter(grayMatter)

Create a new GrayMatter

Creates a new GrayMatter.

Example

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


GrayMatterApi apiInstance = new GrayMatterApi();
GrayMatter grayMatter = new GrayMatter(); // GrayMatter | GrayMatter details.

try {
GrayMatter result = apiInstance.postGrayMatter(grayMatter);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling GrayMatterApi#postGrayMatter");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
grayMatterGrayMatterGrayMatter details.

Return type

GrayMatter

Authorization

No authorization required

HTTP request headers

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

updateGrayMatter

GrayMatter
updateGrayMatter(idgrayMatter)

Update an existing GrayMatter

Updates an existing GrayMatter.

Example

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


GrayMatterApi apiInstance = new GrayMatterApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the GrayMatter.
GrayMatter grayMatter = new GrayMatter(); // GrayMatter | Updated GrayMatter details.

try {
GrayMatter result = apiInstance.updateGrayMatter(idgrayMatter);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling GrayMatterApi#updateGrayMatter");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the GrayMatter.
grayMatterGrayMatterUpdated GrayMatter details.

Return type

GrayMatter

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.3-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2026-04-20T19:24:54.195235-07:00[America/Los_Angeles]