OpenSearch-Client

 view release on metacpan or  search on metacpan

lib/OpenSearch/Client/Core/3_0/Role/API.pm  view on Meta::CPAN

    },

    'cluster.get_settings' => {
        doc     => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-settings/',
        method  => 'GET',
        parts   => {},
        paths   => [[ {}, "_cluster", "settings" ]],
        qs      => {
             # Endpoint specific query parameters
            'cluster_manager_timeout'  => 'string',
            'flat_settings'            => 'boolean',
            'include_defaults'         => 'boolean',
            'master_timeout'           => 'string',
            'timeout'                  => 'string',
             # Common API query parameters
            'error_trace'              => 'boolean',
            'filter_path'              => 'list',
            'human'                    => 'boolean',
            'pretty'                   => 'boolean',
            'source'                   => 'string',
        },
        os_version =>  1.000000,
    },

    'cluster.get_weighted_routing' => {
        doc     => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-awareness/#example-getting-weights-for-all-zones',
        method  => 'GET',
        parts   => { attribute => {  required => 1 }},
        paths   => [[ { attribute => 3 }, "_cluster", "routing", "awareness", "{attribute}", "weights" ]],
        qs      => {
             # Common API query parameters
            'error_trace'  => 'boolean',
            'filter_path'  => 'list',
            'human'        => 'boolean',
            'pretty'       => 'boolean',
            'source'       => 'string',
        },
        os_version =>  1.000000,
    },

    'cluster.health' => {
        doc     => 'https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-health/',
        method  => 'GET',
        parts   => { index => {  multi => 1 }},
        paths   => [
            [ { index => 2 }, "_cluster", "health", "{index}" ],
            [ {}, "_cluster", "health" ]
        ],
        qs      => {
             # Endpoint specific query parameters
            'awareness_attribute'              => 'string',
            'cluster_manager_timeout'          => 'string',
            'expand_wildcards'                 => 'list',
            'level'                            => 'string',
            'local'                            => 'boolean',
            'master_timeout'                   => 'string',
            'timeout'                          => 'string',
            'wait_for_active_shards'           => 'string',
            'wait_for_events'                  => 'string',
            'wait_for_no_initializing_shards'  => 'boolean',
            'wait_for_no_relocating_shards'    => 'boolean',
            'wait_for_nodes'                   => 'number|string',
            'wait_for_status'                  => 'string',
             # Common API query parameters
            'error_trace'                      => 'boolean',
            'filter_path'                      => 'list',
            'human'                            => 'boolean',
            'pretty'                           => 'boolean',
            'source'                           => 'string',
        },
        os_version =>  1.000000,
    },

    'cluster.pending_tasks' => {
        doc     => 'https://docs.opensearch.org/latest/api-reference/cluster-api/index/',
        method  => 'GET',
        parts   => {},
        paths   => [[ {}, "_cluster", "pending_tasks" ]],
        qs      => {
             # Endpoint specific query parameters
            'cluster_manager_timeout'  => 'string',
            'local'                    => 'boolean',
            'master_timeout'           => 'string',
             # Common API query parameters
            'error_trace'              => 'boolean',
            'filter_path'              => 'list',
            'human'                    => 'boolean',
            'pretty'                   => 'boolean',
            'source'                   => 'string',
        },
        os_version =>  1.000000,
    },

    'cluster.post_voting_config_exclusions' => {
        doc     => 'https://docs.opensearch.org/latest/api-reference/cluster-api/index/',
        method  => 'POST',
        parts   => {},
        paths   => [[ {}, "_cluster", "voting_config_exclusions" ]],
        qs      => {
             # Endpoint specific query parameters
            'node_ids'     => 'list',
            'node_names'   => 'list',
            'timeout'      => 'string',
             # Common API query parameters
            'error_trace'  => 'boolean',
            'filter_path'  => 'list',
            'human'        => 'boolean',
            'pretty'       => 'boolean',
            'source'       => 'string',
        },
        os_version =>  1.000000,
    },

    'cluster.put_component_template' => {
        body    => { required => 1 },
        doc     => 'https://opensearch.org/docs/latest/im-plugin/index-templates/#use-component-templates-to-create-an-index-template',
        method  => 'PUT',
        parts   => { name => {  required => 1 }},
        paths   => [[ { name => 1 }, "_component_template", "{name}" ]],
        qs      => {
             # Endpoint specific query parameters



( run in 0.833 second using v1.01-cache-2.11-cpan-84de2e75c66 )