propGet method

Future<Map<String, dynamic>> propGet(
  1. String id
)
inherited

propGet -> /v1/prop/{id}

Requests the details of the specified prop.

PARAMETERS

id (required) : The ID of the prop, either UUID, name, or index.

  • Example (by_uuid): 3C39C433-5C18-4F51-B357-55BB870227C4
  • Example (by_name): Prop Name
  • Example (by_index): 3

RESPONSE 200:

The request was processed successfully.

content-type: application/json

schema:

{
  "type": "object",
  "required": [
    "id"
  ]
}

Implementation

Future<Map<String, dynamic>> propGet(String id) async {
  String url = '/v1/prop/$id';

  return await call('get', url, httpAccept: 'application/json');
}