Skip to main content

ProductFeatureApi

valkyrai-api

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

MethodHTTP requestDescription
deleteProductFeatureDELETE ProductFeatureApiDelete a ProductFeature.

deleteProductFeature

Void
deleteProductFeature(id)

Delete a ProductFeature.

Deletes a specific ProductFeature.

Example

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


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

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

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the ProductFeature.

Return type

Void

Authorization

No authorization required

HTTP request headers

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

getProductFeature

ProductFeature
getProductFeature(id)

Retrieve a single ProductFeature

Retrieves a single ProductFeature for a specific uid.

Example

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


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

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

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the ProductFeature.

Return type

ProductFeature

Authorization

No authorization required

HTTP request headers

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

getProductFeatureList

ProductFeature
getProductFeatureList(pagesizesort)

Retrieve a list of ProductFeatures

Retrieves a list of ProductFeatures.

Example

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


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

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

Parameters

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

Return type

ProductFeature

Authorization

No authorization required

HTTP request headers

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

postProductFeature

ProductFeature
postProductFeature(productFeature)

Create a new ProductFeature

Creates a new ProductFeature.

Example

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


ProductFeatureApi apiInstance = new ProductFeatureApi();
ProductFeature productFeature = new ProductFeature(); // ProductFeature | ProductFeature details.

try {
ProductFeature result = apiInstance.postProductFeature(productFeature);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProductFeatureApi#postProductFeature");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
productFeatureProductFeatureProductFeature details.

Return type

ProductFeature

Authorization

No authorization required

HTTP request headers

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

updateProductFeature

ProductFeature
updateProductFeature(idproductFeature)

Update an existing ProductFeature

Updates an existing ProductFeature.

Example

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


ProductFeatureApi apiInstance = new ProductFeatureApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the ProductFeature.
ProductFeature productFeature = new ProductFeature(); // ProductFeature | Updated ProductFeature details.

try {
ProductFeature result = apiInstance.updateProductFeature(idproductFeature);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ProductFeatureApi#updateProductFeature");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the ProductFeature.
productFeatureProductFeatureUpdated ProductFeature details.

Return type

ProductFeature

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.1-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-12-03T11:13:18.492704-08:00[America/Los_Angeles]