UNPKG

splunk-sdk

Version:

SDK for usage with the Splunk REST API

64 lines (59 loc) 2.3 kB
/*!*/ // Copyright 2012 Splunk, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"): you may // not use this file except in compliance with the License. You may obtain // a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the // License for the specific language governing permissions and limitations // under the License. (function() { "use strict"; var root = exports || this; // A list of the Splunk REST API endpoint paths root.Paths = { apps: "/services/apps/local", capabilities: "authorization/capabilities", configurations: "configs", dataModels: "datamodel/model", deploymentClient: "deployment/client", deploymentServers: "deployment/server", deploymentServerClasses: "deployment/serverclass", deploymentTenants: "deployment/tenants", eventTypes: "saved/eventtypes", firedAlerts: "alerts/fired_alerts", indexes: "data/indexes", info: "/services/server/info", inputs: null, jobs: "search/jobs", jobsV2: "search/v2/jobs", licenseGroups: "licenser/groups", licenseMessages: "licenser/messages", licensePools: "licenser/pools", licenseSlaves: "licenser/slaves", licenseStacks: "licenser/stacks", licenses: "licenser/licenses", loggers: "server/logger", login: "/services/auth/login", messages: "messages", passwords: "admin/passwords", parser: "search/parser", parserV2: "search/v2/parser", pivot: "datamodel/pivot", properties: "properties", roles: "authorization/roles", savedSearches: "saved/searches", settings: "server/settings", storagePasswords: "storage/passwords", users: "/services/authentication/users", typeahead: "search/typeahead", views: "data/ui/views", currentUser: "/services/authentication/current-context", submitEvent: "/services/receivers/simple" }; })();