Skip to content

Latest commit

 

History

History
98 lines (63 loc) · 2.22 KB

ApidocsApi.md

File metadata and controls

98 lines (63 loc) · 2.22 KB

graylog.ApidocsApi

All URIs are relative to http://log.ano.yumimobi.com/api

Method HTTP request Description
overview GET /api-docs Get API documentation
route GET /api-docs/{route: .+} Get detailed API documentation of a single resource

overview

overview()

Get API documentation

Example

import time
import graylog
from graylog.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = graylog.ApidocsApi()

try: 
    # Get API documentation
    api_instance.overview()
except ApiException as e:
    print "Exception when calling ApidocsApi->overview: %s\n" % e

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

route

route(route)

Get detailed API documentation of a single resource

Example

import time
import graylog
from graylog.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = graylog.ApidocsApi()
route = graylog.Object() # Object | Route to fetch. For example /system

try: 
    # Get detailed API documentation of a single resource
    api_instance.route(route)
except ApiException as e:
    print "Exception when calling ApidocsApi->route: %s\n" % e

Parameters

Name Type Description Notes
route Object Route to fetch. For example /system

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]