GET /definitions/processes

Description

Get a list of all available process definitions. Process definitions are the blueprints used to create a new process instance.

Only the processes which can be started by the player will be listed. For more information about how processes are started check out Process Start Nodes

Resource URL

https://api.playlyfe.com/definitions/processes

Method

GET

Scopes

player, game, debug

Parameters

None

Example

Request
GET https://api.playlyfe.com/definitions/processes
Response
[
  {
    "id": "destroy_evil",
    "lanes": ["neutral", "good", "evil"],
    "name": "Destroy Evil",
    "start_lanes": ["neutral"],
    "tags": ["pl_main"],
    "access": [
      "PRIVATE"
    ]
  },
  {
    "id": "destroy_good",
    "lanes": ["neutral", "good", "evil"],
    "name": "Destroy Good",
    "start_lanes": ["neutral"],
    "tags": [],
    "access": [
      "PUBLIC"
    ]
  }
]