Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GraphQLEndpoint

Endpoint class represents an Obelisk API Endpoint. For now just get(), but will support all http methods.

Hierarchy

  • GraphQLEndpoint

Index

Accessors

Methods

Accessors

url

  • get url(): string
  • Absolute url to use in requests

    Returns string

Methods

execute

  • Execute a GraphQLQuery

    Parameters

    Returns Observable<GraphQLResult>

Static create

  • Creates an Endpoint instance, the client is used to add tokens and uri is relative path starting after /api/. Examples are: /things/my_thing/metrics/my_metric/events?from=1530089953000 or /locations/my_loc/metrics/my_metric/stats/unit

    Parameters

    Returns GraphQLEndpoint