r4nkt
  • Introduction
  • Getting Started
  • Concepts
    • Overview
    • Achievements
    • Actions
    • Activities
    • Badges
    • Criteria
    • Criteria Conditions
    • Criteria Groups
    • Custom Data Reference
    • Games
    • Leaderboards
    • Players
    • Rewards
    • Scores
  • Cookbook
    • Criteria Conditions
    • Achievements
  • API
    • Overview
    • Authentication
    • Achievements
    • Actions
    • Activities
    • Criteria
    • Criteria Groups
    • Leaderboards
    • Players
    • Player Badges
    • Rewards
    • Scores
  • Webhooks
    • Overview
    • Getting Started
    • Events
  • PHP SDK
    • Overview
    • Getting Started
  • Laravel Package
    • Overview
    • Installation
    • Webhooks
Powered by GitBook
On this page
  • Create a criterion
  • Retrieve a criterion
  • Update a criterion
  • Delete a criterion
  • List all criteria

Was this helpful?

  1. API

Criteria

Create a criterion

POST /v1/games/:game_id/criteria/

Request Body

Name
Type
Description

custom_id

string

name

string

description

string

type

string

custom_action_id

string

conditions

string

rule

string

Retrieve a criterion

GET /v1/games/:game_id/criteria/:id

Path Parameters

Name
Type
Description

id

string

The custom ID of the criterion you would like to retrieve.

Update a criterion

PUT /v1/games/:game_id/criteria/:id

Path Parameters

Name
Type
Description

id

string

The custom ID of the criterion you would like to update.

Delete a criterion

DELETE /v1/games/:game_id/criteria/:id

Path Parameters

Name
Type
Description

string

The custom ID of the criterion you would like to delete.

List all criteria

GET /v1/games/:game_id/criteria

Path Parameters

Name
Type
Description

string

PreviousActivitiesNextCriteria Groups

Last updated 4 years ago

Was this helpful?