brcontent 0.0.2 copy "brcontent: ^0.0.2" to clipboard
brcontent: ^0.0.2 copied to clipboard

outdated

Bloomreach Content - Page Delivery API Client

pageapi #

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Dart package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • Build package: org.openapitools.codegen.languages.DartClientCodegen

Requirements #

Dart 2.0 or later

Installation & Usage #

Github #

If this Dart package is published to Github, add the following dependency to your pubspec.yaml

dependencies:
  pageapi:
    git: https://github.com/GIT_USER_ID/GIT_REPO_ID.git

Local #

To use the package in your local drive, add the following dependency to your pubspec.yaml

dependencies:
  pageapi:
    path: /path/to/pageapi

Tests #

TODO

Getting Started #

Please follow the installation procedure and then run the following:

import 'package:brcontent/api.dart';

final instance =
PageApi(ApiClient(basePath: 'https://sandbox-sales02.bloomreach.io'));

final path = path_example; // String | 
final channelId = channelId_example; // String | 

try {
    final Page page = await instance.getPage(channelId, path);
    print(page);
} catch (e) {
    print('Exception when calling PageApi->getPage: $e\n');
}

Documentation for API Endpoints #

All URIs are relative to https://kenan.bloomreach.io

Class Method HTTP request Description
PageApi getPage GET /delivery/site/v1/channels/{channel_id}/pages/{path} Get Page by path

Documentation For Models #

Documentation For Authorization #

All endpoints do not require authorization.

Author #

kenan.salic@bloomreach.com

2
likes
0
pub points
36%
popularity

Publisher

verified publisherpub.bloomreach.works

Bloomreach Content - Page Delivery API Client

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http, intl, meta

More

Packages that depend on brcontent