dataListsPagesProjectTitleGetWithHttpInfo method

Future<Response> dataListsPagesProjectTitleGetWithHttpInfo(
  1. String project,
  2. String title, {
  3. String? next,
})

Get lists of the current user which contain a given page.

Request must be authenticated with a MediaWiki session cookie. Stability: unstable

Note: This method returns the HTTP Response.

Parameters:

  • String project (required):

  • String title (required):

  • String next: Continuation parameter from previous request

Implementation

Future<Response> dataListsPagesProjectTitleGetWithHttpInfo(
  String project,
  String title, {
  String? next,
}) async {
  // ignore: prefer_const_declarations
  final path = r'/data/lists/pages/{project}/{title}'
      .replaceAll('{project}', project)
      .replaceAll('{title}', title);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  if (next != null) {
    queryParams.addAll(_queryParams('', 'next', next));
  }

  const contentTypes = <String>[];

  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}