Skip to main content
POST
/
api
/
buckets
{
  "bucket_rules": [
    {}
  ],
  "rule_id": 123,
  "rule_setting": {},
  "activate_rule": true,
  "last_timestamp": "<string>",
  "modified_by": {
    "id": 123
  },
  "created_by": {
    "id": 123
  }
}
A bucket can be described in simple terms as a group of transactions to fit a set of screening metrics. Often, this is done to segment transactions conducted by different customer groups, depending on different business needs. By default, all transactions uploaded into Athena will be registered into the Bucket named “Ordinary”. Please note that the name and description of this bucket cannot be modified nor deleted. To create your own bucket, perform the following API call. Take note that Bucket names must be unique.

Authorizations

Authorization
string
header
required

JWT token obtained from AWS Cognito or custom authentication service

Body

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.

name
string
required
Required string length: 1 - 255
active_indicator
boolean
description
string
rule_id
integer
rule_setting
object
activate_rule
boolean

Response

201 - application/json

Bucket created successfully.

bucket_rules
object[]

List of bucket rules.

Rule object

rule_id
integer

Rule ID.

rule_setting
object

Rule settings.

activate_rule
boolean

Activate rule.

last_timestamp
string

Last timestamp.

modified_by
object
created_by
object