1. Home
  2. Docs
  3. REST API
  4. Developer documentation
  5. List all generators

List all generators

DESCRIPTION

Retrieves all currently available generators. The response will contain an array of generator data objects.

REQUEST URL

GET

/wp-json/lmfwc/v2/generators

RESPONSE EXAMPLE:

 

{

“success”: true,

“data”: [

{

“id”: 5,

“name”: “Update Generator”,

“charset”: “QAAUTOMATION”,

“chunks”: 6,

“chunkLength”: 3,

“timesActivatedMax”: “3”,

“separator”: “-“,

“prefix”: “API-“,

“suffix”: “-GEN”,

“expiresIn”: “15”,

“createdAt”: “2022-07-28 11:41:21”,

“createdBy”: “1”,

“updatedAt”: “2022-08-03 06:48:40”,

“updatedBy”: “1”

},

{

“id”: 6,

“name”: “Generator created by the API”,

“charset”: “JAVADEVELOPER”,

“chunks”: 7,

“chunkLength”: 2,

“timesActivatedMax”: “2”,

“separator”: “-“,

“prefix”: “PRE”,

“suffix”: “FIX”,

“expiresIn”: “10”,

“createdAt”: “2022-08-03 06:51:31”,

“createdBy”: “1”,

“updatedAt”: null,

“updatedBy”: null

}

]

}

Was this article helpful to you? Yes No

How can we help?