getDmcaList method

Future<Map> getDmcaList({
  1. String per_page = "500",
  2. String? page,
  3. String? apiKey,
})

Get DMCA reported files list (500 results per page)

DOCS: https://doodstream.com/api-docs#account-dmca

Implementation

Future<Map> getDmcaList({
  String per_page = "500",
  String? page,
  String? apiKey,
}) async {
  Map result = await invoke(
    uriPath: "dmca/list",
    apiKey: apiKey,
    uriQueryParameters: {
      "per_page": per_page,
      "page": page,
    },
    statusCodes: [200],
    specialTypeName: "dmca",
  );

  return result;
}