Module: Datadog::DI::Transport::HTTP::API Private

Defined in:
lib/datadog/di/transport/http/api.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Namespace for API components

Constant Summary collapse

DIAGNOSTICS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Default API versions

'diagnostics'
INPUT =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'input'

Class Method Summary collapse

Class Method Details

.defaultsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/datadog/di/transport/http/api.rb', line 22

def defaults
  Datadog::Core::Transport::HTTP::API::Map[
    DIAGNOSTICS => Diagnostics::API::Spec.new do |s|
      s.diagnostics = Diagnostics::API::Endpoint.new(
        '/debugger/v1/diagnostics',
        Core::Encoding::JSONEncoder,
      )
    end,
    INPUT => Input::API::Spec.new do |s|
      s.input = Input::API::Endpoint.new(
        '/debugger/v1/input',
        Core::Encoding::JSONEncoder,
      )
    end,
  ]
end