Create Attributes
Search Attribute Values
client.Search.NewAttributes(ctx, body) (*ListarrayNextPageTokenstringSearchNewAttributesResponse, error)
post/api/v1/search/attributes
Search attributes based on filters specified in the request body.
Parameters
bodyAttributeTypeIDsfieldExcludeIDsfieldIDsfieldPageSizefieldPageTokenfieldQueryfieldValuefieldSearchNewAttributesParams
Returns
SearchNewAttributesResponsestruct
SearchAttributeValuesResponse is the response for searching AttributeValues.
Request example Go
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/-go"
"github.com/stainless-sdks/-go/option"
)
func main() {
client := conductoronesdk.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Search.NewAttributes(context.TODO(), conductoronesdk.SearchNewAttributesParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.List)
}
200 Example
{
"list": [
{
"id": "id",
"attributeTypeId": "attributeTypeId",
"value": "value"
}
],
"nextPageToken": "nextPageToken"
}