Entities Links API

AuthorityNoteType

createAuthorityNoteType


/authority-note-types

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://localhost:8081/authority-note-types" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityNoteTypeApi;

import java.io.File;
import java.util.*;

public class AuthorityNoteTypeApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityNoteTypeApi apiInstance = new AuthorityNoteTypeApi();
        AuthorityNoteTypeDto authorityNoteTypeDto = ; // AuthorityNoteTypeDto | 

        try {
            authorityNoteTypeDto result = apiInstance.createAuthorityNoteType(authorityNoteTypeDto);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityNoteTypeApi#createAuthorityNoteType");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final AuthorityNoteTypeDto authorityNoteTypeDto = new AuthorityNoteTypeDto(); // AuthorityNoteTypeDto | 

try {
    final result = await api_instance.createAuthorityNoteType(authorityNoteTypeDto);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createAuthorityNoteType: $e\n');
}

import org.openapitools.client.api.AuthorityNoteTypeApi;

public class AuthorityNoteTypeApiExample {
    public static void main(String[] args) {
        AuthorityNoteTypeApi apiInstance = new AuthorityNoteTypeApi();
        AuthorityNoteTypeDto authorityNoteTypeDto = ; // AuthorityNoteTypeDto | 

        try {
            authorityNoteTypeDto result = apiInstance.createAuthorityNoteType(authorityNoteTypeDto);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityNoteTypeApi#createAuthorityNoteType");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityNoteTypeApi *apiInstance = [[AuthorityNoteTypeApi alloc] init];
AuthorityNoteTypeDto *authorityNoteTypeDto = ; //  (optional)

[apiInstance createAuthorityNoteTypeWith:authorityNoteTypeDto
              completionHandler: ^(authorityNoteTypeDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityNoteTypeApi()
var opts = {
  'authorityNoteTypeDto':  // {AuthorityNoteTypeDto} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createAuthorityNoteType(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createAuthorityNoteTypeExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityNoteTypeApi();
            var authorityNoteTypeDto = new AuthorityNoteTypeDto(); // AuthorityNoteTypeDto |  (optional) 

            try {
                authorityNoteTypeDto result = apiInstance.createAuthorityNoteType(authorityNoteTypeDto);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityNoteTypeApi.createAuthorityNoteType: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityNoteTypeApi();
$authorityNoteTypeDto = ; // AuthorityNoteTypeDto | 

try {
    $result = $api_instance->createAuthorityNoteType($authorityNoteTypeDto);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityNoteTypeApi->createAuthorityNoteType: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityNoteTypeApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityNoteTypeApi->new();
my $authorityNoteTypeDto = WWW::OPenAPIClient::Object::AuthorityNoteTypeDto->new(); # AuthorityNoteTypeDto | 

eval {
    my $result = $api_instance->createAuthorityNoteType(authorityNoteTypeDto => $authorityNoteTypeDto);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthorityNoteTypeApi->createAuthorityNoteType: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityNoteTypeApi()
authorityNoteTypeDto =  # AuthorityNoteTypeDto |  (optional)

try:
    api_response = api_instance.create_authority_note_type(authorityNoteTypeDto=authorityNoteTypeDto)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthorityNoteTypeApi->createAuthorityNoteType: %s\n" % e)
extern crate AuthorityNoteTypeApi;

pub fn main() {
    let authorityNoteTypeDto = ; // AuthorityNoteTypeDto

    let mut context = AuthorityNoteTypeApi::Context::default();
    let result = client.createAuthorityNoteType(authorityNoteTypeDto, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
authorityNoteTypeDto

Responses


deleteAuthorityNoteType


/authority-note-types/{id}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-note-types/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityNoteTypeApi;

import java.io.File;
import java.util.*;

public class AuthorityNoteTypeApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityNoteTypeApi apiInstance = new AuthorityNoteTypeApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            apiInstance.deleteAuthorityNoteType(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityNoteTypeApi#deleteAuthorityNoteType");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record

try {
    final result = await api_instance.deleteAuthorityNoteType(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteAuthorityNoteType: $e\n');
}

import org.openapitools.client.api.AuthorityNoteTypeApi;

public class AuthorityNoteTypeApiExample {
    public static void main(String[] args) {
        AuthorityNoteTypeApi apiInstance = new AuthorityNoteTypeApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            apiInstance.deleteAuthorityNoteType(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityNoteTypeApi#deleteAuthorityNoteType");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityNoteTypeApi *apiInstance = [[AuthorityNoteTypeApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)

[apiInstance deleteAuthorityNoteTypeWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityNoteTypeApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteAuthorityNoteType(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class deleteAuthorityNoteTypeExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityNoteTypeApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)

            try {
                apiInstance.deleteAuthorityNoteType(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityNoteTypeApi.deleteAuthorityNoteType: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityNoteTypeApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

try {
    $api_instance->deleteAuthorityNoteType($id);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityNoteTypeApi->deleteAuthorityNoteType: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityNoteTypeApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityNoteTypeApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record

eval {
    $api_instance->deleteAuthorityNoteType(id => $id);
};
if ($@) {
    warn "Exception when calling AuthorityNoteTypeApi->deleteAuthorityNoteType: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityNoteTypeApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)

try:
    api_instance.delete_authority_note_type(id)
except ApiException as e:
    print("Exception when calling AuthorityNoteTypeApi->deleteAuthorityNoteType: %s\n" % e)
extern crate AuthorityNoteTypeApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = AuthorityNoteTypeApi::Context::default();
    let result = client.deleteAuthorityNoteType(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required

Responses


getAuthorityNoteType


/authority-note-types/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-note-types/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityNoteTypeApi;

import java.io.File;
import java.util.*;

public class AuthorityNoteTypeApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityNoteTypeApi apiInstance = new AuthorityNoteTypeApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            authorityNoteTypeDto result = apiInstance.getAuthorityNoteType(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityNoteTypeApi#getAuthorityNoteType");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record

try {
    final result = await api_instance.getAuthorityNoteType(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getAuthorityNoteType: $e\n');
}

import org.openapitools.client.api.AuthorityNoteTypeApi;

public class AuthorityNoteTypeApiExample {
    public static void main(String[] args) {
        AuthorityNoteTypeApi apiInstance = new AuthorityNoteTypeApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            authorityNoteTypeDto result = apiInstance.getAuthorityNoteType(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityNoteTypeApi#getAuthorityNoteType");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityNoteTypeApi *apiInstance = [[AuthorityNoteTypeApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)

[apiInstance getAuthorityNoteTypeWith:id
              completionHandler: ^(authorityNoteTypeDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityNoteTypeApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAuthorityNoteType(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getAuthorityNoteTypeExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityNoteTypeApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)

            try {
                authorityNoteTypeDto result = apiInstance.getAuthorityNoteType(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityNoteTypeApi.getAuthorityNoteType: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityNoteTypeApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

try {
    $result = $api_instance->getAuthorityNoteType($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityNoteTypeApi->getAuthorityNoteType: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityNoteTypeApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityNoteTypeApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record

eval {
    my $result = $api_instance->getAuthorityNoteType(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthorityNoteTypeApi->getAuthorityNoteType: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityNoteTypeApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)

try:
    api_response = api_instance.get_authority_note_type(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthorityNoteTypeApi->getAuthorityNoteType: %s\n" % e)
extern crate AuthorityNoteTypeApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = AuthorityNoteTypeApi::Context::default();
    let result = client.getAuthorityNoteType(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required

Responses


retrieveAuthorityNoteTypes


/authority-note-types

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-note-types?offset=56&limit=56&query=query_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityNoteTypeApi;

import java.io.File;
import java.util.*;

public class AuthorityNoteTypeApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityNoteTypeApi apiInstance = new AuthorityNoteTypeApi();
        Integer offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
        Integer limit = 56; // Integer | Limit the number of elements returned in the response.
        String query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

        try {
            authorityNoteTypeDtoCollection result = apiInstance.retrieveAuthorityNoteTypes(offset, limit, query);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityNoteTypeApi#retrieveAuthorityNoteTypes");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer offset = new Integer(); // Integer | Skip over a number of elements by specifying an offset value for the query.
final Integer limit = new Integer(); // Integer | Limit the number of elements returned in the response.
final String query = new String(); // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

try {
    final result = await api_instance.retrieveAuthorityNoteTypes(offset, limit, query);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->retrieveAuthorityNoteTypes: $e\n');
}

import org.openapitools.client.api.AuthorityNoteTypeApi;

public class AuthorityNoteTypeApiExample {
    public static void main(String[] args) {
        AuthorityNoteTypeApi apiInstance = new AuthorityNoteTypeApi();
        Integer offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
        Integer limit = 56; // Integer | Limit the number of elements returned in the response.
        String query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

        try {
            authorityNoteTypeDtoCollection result = apiInstance.retrieveAuthorityNoteTypes(offset, limit, query);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityNoteTypeApi#retrieveAuthorityNoteTypes");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityNoteTypeApi *apiInstance = [[AuthorityNoteTypeApi alloc] init];
Integer *offset = 56; // Skip over a number of elements by specifying an offset value for the query. (optional) (default to 0)
Integer *limit = 56; // Limit the number of elements returned in the response. (optional) (default to 100)
String *query = query_example; // A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context. (optional) (default to cql.allRecords=1)

[apiInstance retrieveAuthorityNoteTypesWith:offset
    limit:limit
    query:query
              completionHandler: ^(authorityNoteTypeDtoCollection output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityNoteTypeApi()
var opts = {
  'offset': 56, // {Integer} Skip over a number of elements by specifying an offset value for the query.
  'limit': 56, // {Integer} Limit the number of elements returned in the response.
  'query': query_example // {String} A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveAuthorityNoteTypes(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class retrieveAuthorityNoteTypesExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityNoteTypeApi();
            var offset = 56;  // Integer | Skip over a number of elements by specifying an offset value for the query. (optional)  (default to 0)
            var limit = 56;  // Integer | Limit the number of elements returned in the response. (optional)  (default to 100)
            var query = query_example;  // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context. (optional)  (default to cql.allRecords=1)

            try {
                authorityNoteTypeDtoCollection result = apiInstance.retrieveAuthorityNoteTypes(offset, limit, query);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityNoteTypeApi.retrieveAuthorityNoteTypes: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityNoteTypeApi();
$offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
$limit = 56; // Integer | Limit the number of elements returned in the response.
$query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

try {
    $result = $api_instance->retrieveAuthorityNoteTypes($offset, $limit, $query);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityNoteTypeApi->retrieveAuthorityNoteTypes: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityNoteTypeApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityNoteTypeApi->new();
my $offset = 56; # Integer | Skip over a number of elements by specifying an offset value for the query.
my $limit = 56; # Integer | Limit the number of elements returned in the response.
my $query = query_example; # String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

eval {
    my $result = $api_instance->retrieveAuthorityNoteTypes(offset => $offset, limit => $limit, query => $query);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthorityNoteTypeApi->retrieveAuthorityNoteTypes: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityNoteTypeApi()
offset = 56 # Integer | Skip over a number of elements by specifying an offset value for the query. (optional) (default to 0)
limit = 56 # Integer | Limit the number of elements returned in the response. (optional) (default to 100)
query = query_example # String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context. (optional) (default to cql.allRecords=1)

try:
    api_response = api_instance.retrieve_authority_note_types(offset=offset, limit=limit, query=query)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthorityNoteTypeApi->retrieveAuthorityNoteTypes: %s\n" % e)
extern crate AuthorityNoteTypeApi;

pub fn main() {
    let offset = 56; // Integer
    let limit = 56; // Integer
    let query = query_example; // String

    let mut context = AuthorityNoteTypeApi::Context::default();
    let result = client.retrieveAuthorityNoteTypes(offset, limit, query, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
offset
Integer
Skip over a number of elements by specifying an offset value for the query.
limit
Integer
Limit the number of elements returned in the response.
query
String
A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

Responses


updateAuthorityNoteType


/authority-note-types/{id}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://localhost:8081/authority-note-types/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityNoteTypeApi;

import java.io.File;
import java.util.*;

public class AuthorityNoteTypeApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityNoteTypeApi apiInstance = new AuthorityNoteTypeApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record
        AuthorityNoteTypeDto authorityNoteTypeDto = ; // AuthorityNoteTypeDto | 

        try {
            apiInstance.updateAuthorityNoteType(id, authorityNoteTypeDto);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityNoteTypeApi#updateAuthorityNoteType");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record
final AuthorityNoteTypeDto authorityNoteTypeDto = new AuthorityNoteTypeDto(); // AuthorityNoteTypeDto | 

try {
    final result = await api_instance.updateAuthorityNoteType(id, authorityNoteTypeDto);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->updateAuthorityNoteType: $e\n');
}

import org.openapitools.client.api.AuthorityNoteTypeApi;

public class AuthorityNoteTypeApiExample {
    public static void main(String[] args) {
        AuthorityNoteTypeApi apiInstance = new AuthorityNoteTypeApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record
        AuthorityNoteTypeDto authorityNoteTypeDto = ; // AuthorityNoteTypeDto | 

        try {
            apiInstance.updateAuthorityNoteType(id, authorityNoteTypeDto);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityNoteTypeApi#updateAuthorityNoteType");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityNoteTypeApi *apiInstance = [[AuthorityNoteTypeApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)
AuthorityNoteTypeDto *authorityNoteTypeDto = ; //  (optional)

[apiInstance updateAuthorityNoteTypeWith:id
    authorityNoteTypeDto:authorityNoteTypeDto
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityNoteTypeApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record
var opts = {
  'authorityNoteTypeDto':  // {AuthorityNoteTypeDto} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateAuthorityNoteType(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class updateAuthorityNoteTypeExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityNoteTypeApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)
            var authorityNoteTypeDto = new AuthorityNoteTypeDto(); // AuthorityNoteTypeDto |  (optional) 

            try {
                apiInstance.updateAuthorityNoteType(id, authorityNoteTypeDto);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityNoteTypeApi.updateAuthorityNoteType: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityNoteTypeApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record
$authorityNoteTypeDto = ; // AuthorityNoteTypeDto | 

try {
    $api_instance->updateAuthorityNoteType($id, $authorityNoteTypeDto);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityNoteTypeApi->updateAuthorityNoteType: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityNoteTypeApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityNoteTypeApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record
my $authorityNoteTypeDto = WWW::OPenAPIClient::Object::AuthorityNoteTypeDto->new(); # AuthorityNoteTypeDto | 

eval {
    $api_instance->updateAuthorityNoteType(id => $id, authorityNoteTypeDto => $authorityNoteTypeDto);
};
if ($@) {
    warn "Exception when calling AuthorityNoteTypeApi->updateAuthorityNoteType: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityNoteTypeApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)
authorityNoteTypeDto =  # AuthorityNoteTypeDto |  (optional)

try:
    api_instance.update_authority_note_type(id, authorityNoteTypeDto=authorityNoteTypeDto)
except ApiException as e:
    print("Exception when calling AuthorityNoteTypeApi->updateAuthorityNoteType: %s\n" % e)
extern crate AuthorityNoteTypeApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let authorityNoteTypeDto = ; // AuthorityNoteTypeDto

    let mut context = AuthorityNoteTypeApi::Context::default();
    let result = client.updateAuthorityNoteType(id, authorityNoteTypeDto, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required
Body parameters
Name Description
authorityNoteTypeDto

Responses


AuthoritySourceFile

createAuthoritySourceFile


/authority-source-files

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://localhost:8081/authority-source-files" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthoritySourceFileApi;

import java.io.File;
import java.util.*;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        AuthoritySourceFilePostDto authoritySourceFilePostDto = ; // AuthoritySourceFilePostDto | 

        try {
            authoritySourceFileDto result = apiInstance.createAuthoritySourceFile(authoritySourceFilePostDto);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#createAuthoritySourceFile");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final AuthoritySourceFilePostDto authoritySourceFilePostDto = new AuthoritySourceFilePostDto(); // AuthoritySourceFilePostDto | 

try {
    final result = await api_instance.createAuthoritySourceFile(authoritySourceFilePostDto);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createAuthoritySourceFile: $e\n');
}

import org.openapitools.client.api.AuthoritySourceFileApi;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        AuthoritySourceFilePostDto authoritySourceFilePostDto = ; // AuthoritySourceFilePostDto | 

        try {
            authoritySourceFileDto result = apiInstance.createAuthoritySourceFile(authoritySourceFilePostDto);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#createAuthoritySourceFile");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthoritySourceFileApi *apiInstance = [[AuthoritySourceFileApi alloc] init];
AuthoritySourceFilePostDto *authoritySourceFilePostDto = ; //  (optional)

[apiInstance createAuthoritySourceFileWith:authoritySourceFilePostDto
              completionHandler: ^(authoritySourceFileDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthoritySourceFileApi()
var opts = {
  'authoritySourceFilePostDto':  // {AuthoritySourceFilePostDto} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createAuthoritySourceFile(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createAuthoritySourceFileExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthoritySourceFileApi();
            var authoritySourceFilePostDto = new AuthoritySourceFilePostDto(); // AuthoritySourceFilePostDto |  (optional) 

            try {
                authoritySourceFileDto result = apiInstance.createAuthoritySourceFile(authoritySourceFilePostDto);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthoritySourceFileApi.createAuthoritySourceFile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthoritySourceFileApi();
$authoritySourceFilePostDto = ; // AuthoritySourceFilePostDto | 

try {
    $result = $api_instance->createAuthoritySourceFile($authoritySourceFilePostDto);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthoritySourceFileApi->createAuthoritySourceFile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthoritySourceFileApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthoritySourceFileApi->new();
my $authoritySourceFilePostDto = WWW::OPenAPIClient::Object::AuthoritySourceFilePostDto->new(); # AuthoritySourceFilePostDto | 

eval {
    my $result = $api_instance->createAuthoritySourceFile(authoritySourceFilePostDto => $authoritySourceFilePostDto);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthoritySourceFileApi->createAuthoritySourceFile: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthoritySourceFileApi()
authoritySourceFilePostDto =  # AuthoritySourceFilePostDto |  (optional)

try:
    api_response = api_instance.create_authority_source_file(authoritySourceFilePostDto=authoritySourceFilePostDto)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthoritySourceFileApi->createAuthoritySourceFile: %s\n" % e)
extern crate AuthoritySourceFileApi;

pub fn main() {
    let authoritySourceFilePostDto = ; // AuthoritySourceFilePostDto

    let mut context = AuthoritySourceFileApi::Context::default();
    let result = client.createAuthoritySourceFile(authoritySourceFilePostDto, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
authoritySourceFilePostDto

Responses


deleteAuthoritySourceFile


/authority-source-files/{id}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-source-files/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthoritySourceFileApi;

import java.io.File;
import java.util.*;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            apiInstance.deleteAuthoritySourceFile(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#deleteAuthoritySourceFile");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record

try {
    final result = await api_instance.deleteAuthoritySourceFile(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteAuthoritySourceFile: $e\n');
}

import org.openapitools.client.api.AuthoritySourceFileApi;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            apiInstance.deleteAuthoritySourceFile(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#deleteAuthoritySourceFile");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthoritySourceFileApi *apiInstance = [[AuthoritySourceFileApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)

[apiInstance deleteAuthoritySourceFileWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthoritySourceFileApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteAuthoritySourceFile(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class deleteAuthoritySourceFileExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthoritySourceFileApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)

            try {
                apiInstance.deleteAuthoritySourceFile(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthoritySourceFileApi.deleteAuthoritySourceFile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthoritySourceFileApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

try {
    $api_instance->deleteAuthoritySourceFile($id);
} catch (Exception $e) {
    echo 'Exception when calling AuthoritySourceFileApi->deleteAuthoritySourceFile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthoritySourceFileApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthoritySourceFileApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record

eval {
    $api_instance->deleteAuthoritySourceFile(id => $id);
};
if ($@) {
    warn "Exception when calling AuthoritySourceFileApi->deleteAuthoritySourceFile: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthoritySourceFileApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)

try:
    api_instance.delete_authority_source_file(id)
except ApiException as e:
    print("Exception when calling AuthoritySourceFileApi->deleteAuthoritySourceFile: %s\n" % e)
extern crate AuthoritySourceFileApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = AuthoritySourceFileApi::Context::default();
    let result = client.deleteAuthoritySourceFile(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required

Responses


getAuthoritySourceFile


/authority-source-files/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-source-files/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthoritySourceFileApi;

import java.io.File;
import java.util.*;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            authoritySourceFileDto result = apiInstance.getAuthoritySourceFile(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#getAuthoritySourceFile");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record

try {
    final result = await api_instance.getAuthoritySourceFile(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getAuthoritySourceFile: $e\n');
}

import org.openapitools.client.api.AuthoritySourceFileApi;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            authoritySourceFileDto result = apiInstance.getAuthoritySourceFile(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#getAuthoritySourceFile");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthoritySourceFileApi *apiInstance = [[AuthoritySourceFileApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)

[apiInstance getAuthoritySourceFileWith:id
              completionHandler: ^(authoritySourceFileDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthoritySourceFileApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAuthoritySourceFile(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getAuthoritySourceFileExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthoritySourceFileApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)

            try {
                authoritySourceFileDto result = apiInstance.getAuthoritySourceFile(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthoritySourceFileApi.getAuthoritySourceFile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthoritySourceFileApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

try {
    $result = $api_instance->getAuthoritySourceFile($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthoritySourceFileApi->getAuthoritySourceFile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthoritySourceFileApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthoritySourceFileApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record

eval {
    my $result = $api_instance->getAuthoritySourceFile(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthoritySourceFileApi->getAuthoritySourceFile: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthoritySourceFileApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)

try:
    api_response = api_instance.get_authority_source_file(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthoritySourceFileApi->getAuthoritySourceFile: %s\n" % e)
extern crate AuthoritySourceFileApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = AuthoritySourceFileApi::Context::default();
    let result = client.getAuthoritySourceFile(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required

Responses


newAuthoritySourceFileNextHrid


/authority-source-files/{id}/hrid

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-source-files/{id}/hrid"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthoritySourceFileApi;

import java.io.File;
import java.util.*;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            authoritySourceFileHridDto result = apiInstance.newAuthoritySourceFileNextHrid(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#newAuthoritySourceFileNextHrid");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record

try {
    final result = await api_instance.newAuthoritySourceFileNextHrid(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->newAuthoritySourceFileNextHrid: $e\n');
}

import org.openapitools.client.api.AuthoritySourceFileApi;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            authoritySourceFileHridDto result = apiInstance.newAuthoritySourceFileNextHrid(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#newAuthoritySourceFileNextHrid");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthoritySourceFileApi *apiInstance = [[AuthoritySourceFileApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)

[apiInstance newAuthoritySourceFileNextHridWith:id
              completionHandler: ^(authoritySourceFileHridDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthoritySourceFileApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.newAuthoritySourceFileNextHrid(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class newAuthoritySourceFileNextHridExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthoritySourceFileApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)

            try {
                authoritySourceFileHridDto result = apiInstance.newAuthoritySourceFileNextHrid(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthoritySourceFileApi.newAuthoritySourceFileNextHrid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthoritySourceFileApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

try {
    $result = $api_instance->newAuthoritySourceFileNextHrid($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthoritySourceFileApi->newAuthoritySourceFileNextHrid: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthoritySourceFileApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthoritySourceFileApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record

eval {
    my $result = $api_instance->newAuthoritySourceFileNextHrid(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthoritySourceFileApi->newAuthoritySourceFileNextHrid: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthoritySourceFileApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)

try:
    api_response = api_instance.new_authority_source_file_next_hrid(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthoritySourceFileApi->newAuthoritySourceFileNextHrid: %s\n" % e)
extern crate AuthoritySourceFileApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = AuthoritySourceFileApi::Context::default();
    let result = client.newAuthoritySourceFileNextHrid(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required

Responses


patchAuthoritySourceFile


/authority-source-files/{id}

Usage and SDK Samples

curl -X PATCH \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://localhost:8081/authority-source-files/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthoritySourceFileApi;

import java.io.File;
import java.util.*;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record
        AuthoritySourceFilePatchDto authoritySourceFilePatchDto = ; // AuthoritySourceFilePatchDto | 

        try {
            apiInstance.patchAuthoritySourceFile(id, authoritySourceFilePatchDto);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#patchAuthoritySourceFile");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record
final AuthoritySourceFilePatchDto authoritySourceFilePatchDto = new AuthoritySourceFilePatchDto(); // AuthoritySourceFilePatchDto | 

try {
    final result = await api_instance.patchAuthoritySourceFile(id, authoritySourceFilePatchDto);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->patchAuthoritySourceFile: $e\n');
}

import org.openapitools.client.api.AuthoritySourceFileApi;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record
        AuthoritySourceFilePatchDto authoritySourceFilePatchDto = ; // AuthoritySourceFilePatchDto | 

        try {
            apiInstance.patchAuthoritySourceFile(id, authoritySourceFilePatchDto);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#patchAuthoritySourceFile");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthoritySourceFileApi *apiInstance = [[AuthoritySourceFileApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)
AuthoritySourceFilePatchDto *authoritySourceFilePatchDto = ; //  (optional)

[apiInstance patchAuthoritySourceFileWith:id
    authoritySourceFilePatchDto:authoritySourceFilePatchDto
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthoritySourceFileApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record
var opts = {
  'authoritySourceFilePatchDto':  // {AuthoritySourceFilePatchDto} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.patchAuthoritySourceFile(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class patchAuthoritySourceFileExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthoritySourceFileApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)
            var authoritySourceFilePatchDto = new AuthoritySourceFilePatchDto(); // AuthoritySourceFilePatchDto |  (optional) 

            try {
                apiInstance.patchAuthoritySourceFile(id, authoritySourceFilePatchDto);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthoritySourceFileApi.patchAuthoritySourceFile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthoritySourceFileApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record
$authoritySourceFilePatchDto = ; // AuthoritySourceFilePatchDto | 

try {
    $api_instance->patchAuthoritySourceFile($id, $authoritySourceFilePatchDto);
} catch (Exception $e) {
    echo 'Exception when calling AuthoritySourceFileApi->patchAuthoritySourceFile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthoritySourceFileApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthoritySourceFileApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record
my $authoritySourceFilePatchDto = WWW::OPenAPIClient::Object::AuthoritySourceFilePatchDto->new(); # AuthoritySourceFilePatchDto | 

eval {
    $api_instance->patchAuthoritySourceFile(id => $id, authoritySourceFilePatchDto => $authoritySourceFilePatchDto);
};
if ($@) {
    warn "Exception when calling AuthoritySourceFileApi->patchAuthoritySourceFile: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthoritySourceFileApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)
authoritySourceFilePatchDto =  # AuthoritySourceFilePatchDto |  (optional)

try:
    api_instance.patch_authority_source_file(id, authoritySourceFilePatchDto=authoritySourceFilePatchDto)
except ApiException as e:
    print("Exception when calling AuthoritySourceFileApi->patchAuthoritySourceFile: %s\n" % e)
extern crate AuthoritySourceFileApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let authoritySourceFilePatchDto = ; // AuthoritySourceFilePatchDto

    let mut context = AuthoritySourceFileApi::Context::default();
    let result = client.patchAuthoritySourceFile(id, authoritySourceFilePatchDto, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required
Body parameters
Name Description
authoritySourceFilePatchDto

Responses


retrieveAuthoritySourceFiles


/authority-source-files

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-source-files?offset=56&limit=56&query=query_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthoritySourceFileApi;

import java.io.File;
import java.util.*;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        Integer offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
        Integer limit = 56; // Integer | Limit the number of elements returned in the response.
        String query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

        try {
            authoritySourceFileDtoCollection result = apiInstance.retrieveAuthoritySourceFiles(offset, limit, query);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#retrieveAuthoritySourceFiles");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer offset = new Integer(); // Integer | Skip over a number of elements by specifying an offset value for the query.
final Integer limit = new Integer(); // Integer | Limit the number of elements returned in the response.
final String query = new String(); // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

try {
    final result = await api_instance.retrieveAuthoritySourceFiles(offset, limit, query);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->retrieveAuthoritySourceFiles: $e\n');
}

import org.openapitools.client.api.AuthoritySourceFileApi;

public class AuthoritySourceFileApiExample {
    public static void main(String[] args) {
        AuthoritySourceFileApi apiInstance = new AuthoritySourceFileApi();
        Integer offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
        Integer limit = 56; // Integer | Limit the number of elements returned in the response.
        String query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

        try {
            authoritySourceFileDtoCollection result = apiInstance.retrieveAuthoritySourceFiles(offset, limit, query);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthoritySourceFileApi#retrieveAuthoritySourceFiles");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthoritySourceFileApi *apiInstance = [[AuthoritySourceFileApi alloc] init];
Integer *offset = 56; // Skip over a number of elements by specifying an offset value for the query. (optional) (default to 0)
Integer *limit = 56; // Limit the number of elements returned in the response. (optional) (default to 100)
String *query = query_example; // A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context. (optional) (default to cql.allRecords=1)

[apiInstance retrieveAuthoritySourceFilesWith:offset
    limit:limit
    query:query
              completionHandler: ^(authoritySourceFileDtoCollection output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthoritySourceFileApi()
var opts = {
  'offset': 56, // {Integer} Skip over a number of elements by specifying an offset value for the query.
  'limit': 56, // {Integer} Limit the number of elements returned in the response.
  'query': query_example // {String} A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveAuthoritySourceFiles(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class retrieveAuthoritySourceFilesExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthoritySourceFileApi();
            var offset = 56;  // Integer | Skip over a number of elements by specifying an offset value for the query. (optional)  (default to 0)
            var limit = 56;  // Integer | Limit the number of elements returned in the response. (optional)  (default to 100)
            var query = query_example;  // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context. (optional)  (default to cql.allRecords=1)

            try {
                authoritySourceFileDtoCollection result = apiInstance.retrieveAuthoritySourceFiles(offset, limit, query);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthoritySourceFileApi.retrieveAuthoritySourceFiles: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthoritySourceFileApi();
$offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
$limit = 56; // Integer | Limit the number of elements returned in the response.
$query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

try {
    $result = $api_instance->retrieveAuthoritySourceFiles($offset, $limit, $query);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthoritySourceFileApi->retrieveAuthoritySourceFiles: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthoritySourceFileApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthoritySourceFileApi->new();
my $offset = 56; # Integer | Skip over a number of elements by specifying an offset value for the query.
my $limit = 56; # Integer | Limit the number of elements returned in the response.
my $query = query_example; # String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

eval {
    my $result = $api_instance->retrieveAuthoritySourceFiles(offset => $offset, limit => $limit, query => $query);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthoritySourceFileApi->retrieveAuthoritySourceFiles: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthoritySourceFileApi()
offset = 56 # Integer | Skip over a number of elements by specifying an offset value for the query. (optional) (default to 0)
limit = 56 # Integer | Limit the number of elements returned in the response. (optional) (default to 100)
query = query_example # String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context. (optional) (default to cql.allRecords=1)

try:
    api_response = api_instance.retrieve_authority_source_files(offset=offset, limit=limit, query=query)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthoritySourceFileApi->retrieveAuthoritySourceFiles: %s\n" % e)
extern crate AuthoritySourceFileApi;

pub fn main() {
    let offset = 56; // Integer
    let limit = 56; // Integer
    let query = query_example; // String

    let mut context = AuthoritySourceFileApi::Context::default();
    let result = client.retrieveAuthoritySourceFiles(offset, limit, query, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
offset
Integer
Skip over a number of elements by specifying an offset value for the query.
limit
Integer
Limit the number of elements returned in the response.
query
String
A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.

Responses


AuthorityStorage

createAuthority


/authority-storage/authorities

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://localhost:8081/authority-storage/authorities" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityStorageApi;

import java.io.File;
import java.util.*;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        AuthorityDto authorityDto = ; // AuthorityDto | 

        try {
            authorityDto result = apiInstance.createAuthority(authorityDto);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#createAuthority");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final AuthorityDto authorityDto = new AuthorityDto(); // AuthorityDto | 

try {
    final result = await api_instance.createAuthority(authorityDto);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createAuthority: $e\n');
}

import org.openapitools.client.api.AuthorityStorageApi;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        AuthorityDto authorityDto = ; // AuthorityDto | 

        try {
            authorityDto result = apiInstance.createAuthority(authorityDto);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#createAuthority");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityStorageApi *apiInstance = [[AuthorityStorageApi alloc] init];
AuthorityDto *authorityDto = ; //  (optional)

[apiInstance createAuthorityWith:authorityDto
              completionHandler: ^(authorityDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityStorageApi()
var opts = {
  'authorityDto':  // {AuthorityDto} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createAuthority(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createAuthorityExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityStorageApi();
            var authorityDto = new AuthorityDto(); // AuthorityDto |  (optional) 

            try {
                authorityDto result = apiInstance.createAuthority(authorityDto);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityStorageApi.createAuthority: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityStorageApi();
$authorityDto = ; // AuthorityDto | 

try {
    $result = $api_instance->createAuthority($authorityDto);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityStorageApi->createAuthority: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityStorageApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityStorageApi->new();
my $authorityDto = WWW::OPenAPIClient::Object::AuthorityDto->new(); # AuthorityDto | 

eval {
    my $result = $api_instance->createAuthority(authorityDto => $authorityDto);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthorityStorageApi->createAuthority: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityStorageApi()
authorityDto =  # AuthorityDto |  (optional)

try:
    api_response = api_instance.create_authority(authorityDto=authorityDto)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthorityStorageApi->createAuthority: %s\n" % e)
extern crate AuthorityStorageApi;

pub fn main() {
    let authorityDto = ; // AuthorityDto

    let mut context = AuthorityStorageApi::Context::default();
    let result = client.createAuthority(authorityDto, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
authorityDto

Responses


createAuthorityBulk


/authority-storage/authorities/bulk

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://localhost:8081/authority-storage/authorities/bulk" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityStorageApi;

import java.io.File;
import java.util.*;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        AuthorityBulkRequest authorityBulkRequest = ; // AuthorityBulkRequest | 

        try {
            authorityBulkResponse result = apiInstance.createAuthorityBulk(authorityBulkRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#createAuthorityBulk");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final AuthorityBulkRequest authorityBulkRequest = new AuthorityBulkRequest(); // AuthorityBulkRequest | 

try {
    final result = await api_instance.createAuthorityBulk(authorityBulkRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->createAuthorityBulk: $e\n');
}

import org.openapitools.client.api.AuthorityStorageApi;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        AuthorityBulkRequest authorityBulkRequest = ; // AuthorityBulkRequest | 

        try {
            authorityBulkResponse result = apiInstance.createAuthorityBulk(authorityBulkRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#createAuthorityBulk");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityStorageApi *apiInstance = [[AuthorityStorageApi alloc] init];
AuthorityBulkRequest *authorityBulkRequest = ; //  (optional)

[apiInstance createAuthorityBulkWith:authorityBulkRequest
              completionHandler: ^(authorityBulkResponse output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityStorageApi()
var opts = {
  'authorityBulkRequest':  // {AuthorityBulkRequest} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createAuthorityBulk(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class createAuthorityBulkExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityStorageApi();
            var authorityBulkRequest = new AuthorityBulkRequest(); // AuthorityBulkRequest |  (optional) 

            try {
                authorityBulkResponse result = apiInstance.createAuthorityBulk(authorityBulkRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityStorageApi.createAuthorityBulk: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityStorageApi();
$authorityBulkRequest = ; // AuthorityBulkRequest | 

try {
    $result = $api_instance->createAuthorityBulk($authorityBulkRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityStorageApi->createAuthorityBulk: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityStorageApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityStorageApi->new();
my $authorityBulkRequest = WWW::OPenAPIClient::Object::AuthorityBulkRequest->new(); # AuthorityBulkRequest | 

eval {
    my $result = $api_instance->createAuthorityBulk(authorityBulkRequest => $authorityBulkRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthorityStorageApi->createAuthorityBulk: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityStorageApi()
authorityBulkRequest =  # AuthorityBulkRequest |  (optional)

try:
    api_response = api_instance.create_authority_bulk(authorityBulkRequest=authorityBulkRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthorityStorageApi->createAuthorityBulk: %s\n" % e)
extern crate AuthorityStorageApi;

pub fn main() {
    let authorityBulkRequest = ; // AuthorityBulkRequest

    let mut context = AuthorityStorageApi::Context::default();
    let result = client.createAuthorityBulk(authorityBulkRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
authorityBulkRequest

Responses


deleteAuthority


/authority-storage/authorities/{id}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-storage/authorities/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityStorageApi;

import java.io.File;
import java.util.*;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            apiInstance.deleteAuthority(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#deleteAuthority");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record

try {
    final result = await api_instance.deleteAuthority(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteAuthority: $e\n');
}

import org.openapitools.client.api.AuthorityStorageApi;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            apiInstance.deleteAuthority(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#deleteAuthority");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityStorageApi *apiInstance = [[AuthorityStorageApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)

[apiInstance deleteAuthorityWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityStorageApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteAuthority(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class deleteAuthorityExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityStorageApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)

            try {
                apiInstance.deleteAuthority(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityStorageApi.deleteAuthority: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityStorageApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

try {
    $api_instance->deleteAuthority($id);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityStorageApi->deleteAuthority: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityStorageApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityStorageApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record

eval {
    $api_instance->deleteAuthority(id => $id);
};
if ($@) {
    warn "Exception when calling AuthorityStorageApi->deleteAuthority: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityStorageApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)

try:
    api_instance.delete_authority(id)
except ApiException as e:
    print("Exception when calling AuthorityStorageApi->deleteAuthority: %s\n" % e)
extern crate AuthorityStorageApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = AuthorityStorageApi::Context::default();
    let result = client.deleteAuthority(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required

Responses


getAuthority


/authority-storage/authorities/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-storage/authorities/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityStorageApi;

import java.io.File;
import java.util.*;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            authorityDto result = apiInstance.getAuthority(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#getAuthority");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record

try {
    final result = await api_instance.getAuthority(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getAuthority: $e\n');
}

import org.openapitools.client.api.AuthorityStorageApi;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            authorityDto result = apiInstance.getAuthority(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#getAuthority");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityStorageApi *apiInstance = [[AuthorityStorageApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)

[apiInstance getAuthorityWith:id
              completionHandler: ^(authorityDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityStorageApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAuthority(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getAuthorityExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityStorageApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)

            try {
                authorityDto result = apiInstance.getAuthority(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityStorageApi.getAuthority: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityStorageApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

try {
    $result = $api_instance->getAuthority($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityStorageApi->getAuthority: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityStorageApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityStorageApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record

eval {
    my $result = $api_instance->getAuthority(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthorityStorageApi->getAuthority: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityStorageApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)

try:
    api_response = api_instance.get_authority(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthorityStorageApi->getAuthority: %s\n" % e)
extern crate AuthorityStorageApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = AuthorityStorageApi::Context::default();
    let result = client.getAuthority(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required

Responses


retrieveAuthorities


/authority-storage/authorities

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/plain;charset=utf-8" \
 "https://localhost:8081/authority-storage/authorities?deleted=true&idOnly=true&offset=56&limit=56&query=query_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityStorageApi;

import java.io.File;
import java.util.*;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        Boolean deleted = true; // Boolean | Indicates if only deleted authority records should be retrieved
        Boolean idOnly = true; // Boolean | Indicates if only IDs of authority records should be retrieved
        Integer offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
        Integer limit = 56; // Integer | Limit the number of elements returned in the response.
        String query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. Authorities can be queried using the following fields: headingType, authoritySourceFile.id, authoritySourceFile.name, createdDate, updatedDate. Example: headingType=personalName & authoritySourceFile.name=LC Genre/Form Terms & createdDate>2021-10-25T12:00:00.0
        array[String] accept = ; // array[String] | Specifies accepting media-types for the response

        try {
            authorityFullDtoCollection result = apiInstance.retrieveAuthorities(deleted, idOnly, offset, limit, query, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#retrieveAuthorities");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Boolean deleted = new Boolean(); // Boolean | Indicates if only deleted authority records should be retrieved
final Boolean idOnly = new Boolean(); // Boolean | Indicates if only IDs of authority records should be retrieved
final Integer offset = new Integer(); // Integer | Skip over a number of elements by specifying an offset value for the query.
final Integer limit = new Integer(); // Integer | Limit the number of elements returned in the response.
final String query = new String(); // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. Authorities can be queried using the following fields: headingType, authoritySourceFile.id, authoritySourceFile.name, createdDate, updatedDate. Example: headingType=personalName & authoritySourceFile.name=LC Genre/Form Terms & createdDate>2021-10-25T12:00:00.0
final array[String] accept = new array[String](); // array[String] | Specifies accepting media-types for the response

try {
    final result = await api_instance.retrieveAuthorities(deleted, idOnly, offset, limit, query, accept);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->retrieveAuthorities: $e\n');
}

import org.openapitools.client.api.AuthorityStorageApi;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        Boolean deleted = true; // Boolean | Indicates if only deleted authority records should be retrieved
        Boolean idOnly = true; // Boolean | Indicates if only IDs of authority records should be retrieved
        Integer offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
        Integer limit = 56; // Integer | Limit the number of elements returned in the response.
        String query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. Authorities can be queried using the following fields: headingType, authoritySourceFile.id, authoritySourceFile.name, createdDate, updatedDate. Example: headingType=personalName & authoritySourceFile.name=LC Genre/Form Terms & createdDate>2021-10-25T12:00:00.0
        array[String] accept = ; // array[String] | Specifies accepting media-types for the response

        try {
            authorityFullDtoCollection result = apiInstance.retrieveAuthorities(deleted, idOnly, offset, limit, query, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#retrieveAuthorities");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityStorageApi *apiInstance = [[AuthorityStorageApi alloc] init];
Boolean *deleted = true; // Indicates if only deleted authority records should be retrieved (optional) (default to false)
Boolean *idOnly = true; // Indicates if only IDs of authority records should be retrieved (optional) (default to false)
Integer *offset = 56; // Skip over a number of elements by specifying an offset value for the query. (optional) (default to 0)
Integer *limit = 56; // Limit the number of elements returned in the response. (optional) (default to 100)
String *query = query_example; // A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. Authorities can be queried using the following fields: headingType, authoritySourceFile.id, authoritySourceFile.name, createdDate, updatedDate. Example: headingType=personalName & authoritySourceFile.name=LC Genre/Form Terms & createdDate>2021-10-25T12:00:00.0 (optional) (default to cql.allRecords=1)
array[String] *accept = ; // Specifies accepting media-types for the response (optional) (default to application/json)

[apiInstance retrieveAuthoritiesWith:deleted
    idOnly:idOnly
    offset:offset
    limit:limit
    query:query
    accept:accept
              completionHandler: ^(authorityFullDtoCollection output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityStorageApi()
var opts = {
  'deleted': true, // {Boolean} Indicates if only deleted authority records should be retrieved
  'idOnly': true, // {Boolean} Indicates if only IDs of authority records should be retrieved
  'offset': 56, // {Integer} Skip over a number of elements by specifying an offset value for the query.
  'limit': 56, // {Integer} Limit the number of elements returned in the response.
  'query': query_example, // {String} A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. Authorities can be queried using the following fields: headingType, authoritySourceFile.id, authoritySourceFile.name, createdDate, updatedDate. Example: headingType=personalName & authoritySourceFile.name=LC Genre/Form Terms & createdDate>2021-10-25T12:00:00.0
  'accept':  // {array[String]} Specifies accepting media-types for the response
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveAuthorities(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class retrieveAuthoritiesExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityStorageApi();
            var deleted = true;  // Boolean | Indicates if only deleted authority records should be retrieved (optional)  (default to false)
            var idOnly = true;  // Boolean | Indicates if only IDs of authority records should be retrieved (optional)  (default to false)
            var offset = 56;  // Integer | Skip over a number of elements by specifying an offset value for the query. (optional)  (default to 0)
            var limit = 56;  // Integer | Limit the number of elements returned in the response. (optional)  (default to 100)
            var query = query_example;  // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. Authorities can be queried using the following fields: headingType, authoritySourceFile.id, authoritySourceFile.name, createdDate, updatedDate. Example: headingType=personalName & authoritySourceFile.name=LC Genre/Form Terms & createdDate>2021-10-25T12:00:00.0 (optional)  (default to cql.allRecords=1)
            var accept = new array[String](); // array[String] | Specifies accepting media-types for the response (optional)  (default to application/json)

            try {
                authorityFullDtoCollection result = apiInstance.retrieveAuthorities(deleted, idOnly, offset, limit, query, accept);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityStorageApi.retrieveAuthorities: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityStorageApi();
$deleted = true; // Boolean | Indicates if only deleted authority records should be retrieved
$idOnly = true; // Boolean | Indicates if only IDs of authority records should be retrieved
$offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
$limit = 56; // Integer | Limit the number of elements returned in the response.
$query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. Authorities can be queried using the following fields: headingType, authoritySourceFile.id, authoritySourceFile.name, createdDate, updatedDate. Example: headingType=personalName & authoritySourceFile.name=LC Genre/Form Terms & createdDate>2021-10-25T12:00:00.0
$accept = ; // array[String] | Specifies accepting media-types for the response

try {
    $result = $api_instance->retrieveAuthorities($deleted, $idOnly, $offset, $limit, $query, $accept);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityStorageApi->retrieveAuthorities: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityStorageApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityStorageApi->new();
my $deleted = true; # Boolean | Indicates if only deleted authority records should be retrieved
my $idOnly = true; # Boolean | Indicates if only IDs of authority records should be retrieved
my $offset = 56; # Integer | Skip over a number of elements by specifying an offset value for the query.
my $limit = 56; # Integer | Limit the number of elements returned in the response.
my $query = query_example; # String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. Authorities can be queried using the following fields: headingType, authoritySourceFile.id, authoritySourceFile.name, createdDate, updatedDate. Example: headingType=personalName & authoritySourceFile.name=LC Genre/Form Terms & createdDate>2021-10-25T12:00:00.0
my $accept = []; # array[String] | Specifies accepting media-types for the response

eval {
    my $result = $api_instance->retrieveAuthorities(deleted => $deleted, idOnly => $idOnly, offset => $offset, limit => $limit, query => $query, accept => $accept);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthorityStorageApi->retrieveAuthorities: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityStorageApi()
deleted = true # Boolean | Indicates if only deleted authority records should be retrieved (optional) (default to false)
idOnly = true # Boolean | Indicates if only IDs of authority records should be retrieved (optional) (default to false)
offset = 56 # Integer | Skip over a number of elements by specifying an offset value for the query. (optional) (default to 0)
limit = 56 # Integer | Limit the number of elements returned in the response. (optional) (default to 100)
query = query_example # String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. Authorities can be queried using the following fields: headingType, authoritySourceFile.id, authoritySourceFile.name, createdDate, updatedDate. Example: headingType=personalName & authoritySourceFile.name=LC Genre/Form Terms & createdDate>2021-10-25T12:00:00.0 (optional) (default to cql.allRecords=1)
accept =  # array[String] | Specifies accepting media-types for the response (optional) (default to application/json)

try:
    api_response = api_instance.retrieve_authorities(deleted=deleted, idOnly=idOnly, offset=offset, limit=limit, query=query, accept=accept)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthorityStorageApi->retrieveAuthorities: %s\n" % e)
extern crate AuthorityStorageApi;

pub fn main() {
    let deleted = true; // Boolean
    let idOnly = true; // Boolean
    let offset = 56; // Integer
    let limit = 56; // Integer
    let query = query_example; // String
    let accept = ; // array[String]

    let mut context = AuthorityStorageApi::Context::default();
    let result = client.retrieveAuthorities(deleted, idOnly, offset, limit, query, accept, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Header parameters
Name Description
Accept
array[String]
Specifies accepting media-types for the response
Query parameters
Name Description
deleted
Boolean
Indicates if only deleted authority records should be retrieved
idOnly
Boolean
Indicates if only IDs of authority records should be retrieved
offset
Integer
Skip over a number of elements by specifying an offset value for the query.
limit
Integer
Limit the number of elements returned in the response.
query
String
A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. Authorities can be queried using the following fields: headingType, authoritySourceFile.id, authoritySourceFile.name, createdDate, updatedDate. Example: headingType=personalName & authoritySourceFile.name=LC Genre/Form Terms & createdDate>2021-10-25T12:00:00.0

Responses


updateAuthority


/authority-storage/authorities/{id}

Usage and SDK Samples

curl -X PUT \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://localhost:8081/authority-storage/authorities/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityStorageApi;

import java.io.File;
import java.util.*;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record
        AuthorityDto authorityDto = ; // AuthorityDto | 

        try {
            apiInstance.updateAuthority(id, authorityDto);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#updateAuthority");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record
final AuthorityDto authorityDto = new AuthorityDto(); // AuthorityDto | 

try {
    final result = await api_instance.updateAuthority(id, authorityDto);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->updateAuthority: $e\n');
}

import org.openapitools.client.api.AuthorityStorageApi;

public class AuthorityStorageApiExample {
    public static void main(String[] args) {
        AuthorityStorageApi apiInstance = new AuthorityStorageApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record
        AuthorityDto authorityDto = ; // AuthorityDto | 

        try {
            apiInstance.updateAuthority(id, authorityDto);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageApi#updateAuthority");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityStorageApi *apiInstance = [[AuthorityStorageApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)
AuthorityDto *authorityDto = ; //  (optional)

[apiInstance updateAuthorityWith:id
    authorityDto:authorityDto
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityStorageApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record
var opts = {
  'authorityDto':  // {AuthorityDto} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateAuthority(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class updateAuthorityExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityStorageApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)
            var authorityDto = new AuthorityDto(); // AuthorityDto |  (optional) 

            try {
                apiInstance.updateAuthority(id, authorityDto);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityStorageApi.updateAuthority: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityStorageApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record
$authorityDto = ; // AuthorityDto | 

try {
    $api_instance->updateAuthority($id, $authorityDto);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityStorageApi->updateAuthority: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityStorageApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityStorageApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record
my $authorityDto = WWW::OPenAPIClient::Object::AuthorityDto->new(); # AuthorityDto | 

eval {
    $api_instance->updateAuthority(id => $id, authorityDto => $authorityDto);
};
if ($@) {
    warn "Exception when calling AuthorityStorageApi->updateAuthority: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityStorageApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)
authorityDto =  # AuthorityDto |  (optional)

try:
    api_instance.update_authority(id, authorityDto=authorityDto)
except ApiException as e:
    print("Exception when calling AuthorityStorageApi->updateAuthority: %s\n" % e)
extern crate AuthorityStorageApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID
    let authorityDto = ; // AuthorityDto

    let mut context = AuthorityStorageApi::Context::default();
    let result = client.updateAuthority(id, authorityDto, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required
Body parameters
Name Description
authorityDto

Responses


AuthorityStorageReindex

deleteReindexJob


/authority-storage/reindex/{id}

Usage and SDK Samples

curl -X DELETE \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-storage/reindex/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityStorageReindexApi;

import java.io.File;
import java.util.*;

public class AuthorityStorageReindexApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityStorageReindexApi apiInstance = new AuthorityStorageReindexApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            apiInstance.deleteReindexJob(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageReindexApi#deleteReindexJob");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record

try {
    final result = await api_instance.deleteReindexJob(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteReindexJob: $e\n');
}

import org.openapitools.client.api.AuthorityStorageReindexApi;

public class AuthorityStorageReindexApiExample {
    public static void main(String[] args) {
        AuthorityStorageReindexApi apiInstance = new AuthorityStorageReindexApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            apiInstance.deleteReindexJob(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageReindexApi#deleteReindexJob");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityStorageReindexApi *apiInstance = [[AuthorityStorageReindexApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)

[apiInstance deleteReindexJobWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityStorageReindexApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteReindexJob(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class deleteReindexJobExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityStorageReindexApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)

            try {
                apiInstance.deleteReindexJob(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityStorageReindexApi.deleteReindexJob: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityStorageReindexApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

try {
    $api_instance->deleteReindexJob($id);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityStorageReindexApi->deleteReindexJob: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityStorageReindexApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityStorageReindexApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record

eval {
    $api_instance->deleteReindexJob(id => $id);
};
if ($@) {
    warn "Exception when calling AuthorityStorageReindexApi->deleteReindexJob: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityStorageReindexApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)

try:
    api_instance.delete_reindex_job(id)
except ApiException as e:
    print("Exception when calling AuthorityStorageReindexApi->deleteReindexJob: %s\n" % e)
extern crate AuthorityStorageReindexApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = AuthorityStorageReindexApi::Context::default();
    let result = client.deleteReindexJob(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required

Responses


getReindexJob


/authority-storage/reindex/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-storage/reindex/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityStorageReindexApi;

import java.io.File;
import java.util.*;

public class AuthorityStorageReindexApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityStorageReindexApi apiInstance = new AuthorityStorageReindexApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            reindexJobDto result = apiInstance.getReindexJob(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageReindexApi#getReindexJob");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID id = new UUID(); // UUID | The UUID of a record

try {
    final result = await api_instance.getReindexJob(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getReindexJob: $e\n');
}

import org.openapitools.client.api.AuthorityStorageReindexApi;

public class AuthorityStorageReindexApiExample {
    public static void main(String[] args) {
        AuthorityStorageReindexApi apiInstance = new AuthorityStorageReindexApi();
        UUID id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

        try {
            reindexJobDto result = apiInstance.getReindexJob(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageReindexApi#getReindexJob");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityStorageReindexApi *apiInstance = [[AuthorityStorageReindexApi alloc] init];
UUID *id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // The UUID of a record (default to null)

[apiInstance getReindexJobWith:id
              completionHandler: ^(reindexJobDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityStorageReindexApi()
var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} The UUID of a record

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReindexJob(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getReindexJobExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityStorageReindexApi();
            var id = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID | The UUID of a record (default to null)

            try {
                reindexJobDto result = apiInstance.getReindexJob(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityStorageReindexApi.getReindexJob: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityStorageReindexApi();
$id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | The UUID of a record

try {
    $result = $api_instance->getReindexJob($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityStorageReindexApi->getReindexJob: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityStorageReindexApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityStorageReindexApi->new();
my $id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | The UUID of a record

eval {
    my $result = $api_instance->getReindexJob(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthorityStorageReindexApi->getReindexJob: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityStorageReindexApi()
id = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID | The UUID of a record (default to null)

try:
    api_response = api_instance.get_reindex_job(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthorityStorageReindexApi->getReindexJob: %s\n" % e)
extern crate AuthorityStorageReindexApi;

pub fn main() {
    let id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = AuthorityStorageReindexApi::Context::default();
    let result = client.getReindexJob(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
UUID (uuid)
The UUID of a record
Required

Responses


getReindexJobs


/authority-storage/reindex

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-storage/reindex?query=query_example&offset=56&limit=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityStorageReindexApi;

import java.io.File;
import java.util.*;

public class AuthorityStorageReindexApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityStorageReindexApi apiInstance = new AuthorityStorageReindexApi();
        String query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.
        Integer offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
        Integer limit = 56; // Integer | Limit the number of elements returned in the response.

        try {
            reindexJobDtoCollection result = apiInstance.getReindexJobs(query, offset, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageReindexApi#getReindexJobs");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String query = new String(); // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.
final Integer offset = new Integer(); // Integer | Skip over a number of elements by specifying an offset value for the query.
final Integer limit = new Integer(); // Integer | Limit the number of elements returned in the response.

try {
    final result = await api_instance.getReindexJobs(query, offset, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getReindexJobs: $e\n');
}

import org.openapitools.client.api.AuthorityStorageReindexApi;

public class AuthorityStorageReindexApiExample {
    public static void main(String[] args) {
        AuthorityStorageReindexApi apiInstance = new AuthorityStorageReindexApi();
        String query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.
        Integer offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
        Integer limit = 56; // Integer | Limit the number of elements returned in the response.

        try {
            reindexJobDtoCollection result = apiInstance.getReindexJobs(query, offset, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageReindexApi#getReindexJobs");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityStorageReindexApi *apiInstance = [[AuthorityStorageReindexApi alloc] init];
String *query = query_example; // A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context. (optional) (default to cql.allRecords=1)
Integer *offset = 56; // Skip over a number of elements by specifying an offset value for the query. (optional) (default to 0)
Integer *limit = 56; // Limit the number of elements returned in the response. (optional) (default to 100)

[apiInstance getReindexJobsWith:query
    offset:offset
    limit:limit
              completionHandler: ^(reindexJobDtoCollection output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityStorageReindexApi()
var opts = {
  'query': query_example, // {String} A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.
  'offset': 56, // {Integer} Skip over a number of elements by specifying an offset value for the query.
  'limit': 56 // {Integer} Limit the number of elements returned in the response.
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReindexJobs(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getReindexJobsExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityStorageReindexApi();
            var query = query_example;  // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context. (optional)  (default to cql.allRecords=1)
            var offset = 56;  // Integer | Skip over a number of elements by specifying an offset value for the query. (optional)  (default to 0)
            var limit = 56;  // Integer | Limit the number of elements returned in the response. (optional)  (default to 100)

            try {
                reindexJobDtoCollection result = apiInstance.getReindexJobs(query, offset, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityStorageReindexApi.getReindexJobs: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityStorageReindexApi();
$query = query_example; // String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.
$offset = 56; // Integer | Skip over a number of elements by specifying an offset value for the query.
$limit = 56; // Integer | Limit the number of elements returned in the response.

try {
    $result = $api_instance->getReindexJobs($query, $offset, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityStorageReindexApi->getReindexJobs: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityStorageReindexApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityStorageReindexApi->new();
my $query = query_example; # String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.
my $offset = 56; # Integer | Skip over a number of elements by specifying an offset value for the query.
my $limit = 56; # Integer | Limit the number of elements returned in the response.

eval {
    my $result = $api_instance->getReindexJobs(query => $query, offset => $offset, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthorityStorageReindexApi->getReindexJobs: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityStorageReindexApi()
query = query_example # String | A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context. (optional) (default to cql.allRecords=1)
offset = 56 # Integer | Skip over a number of elements by specifying an offset value for the query. (optional) (default to 0)
limit = 56 # Integer | Limit the number of elements returned in the response. (optional) (default to 100)

try:
    api_response = api_instance.get_reindex_jobs(query=query, offset=offset, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthorityStorageReindexApi->getReindexJobs: %s\n" % e)
extern crate AuthorityStorageReindexApi;

pub fn main() {
    let query = query_example; // String
    let offset = 56; // Integer
    let limit = 56; // Integer

    let mut context = AuthorityStorageReindexApi::Context::default();
    let result = client.getReindexJobs(query, offset, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
query
String
A query expressed as a CQL string (see [dev.folio.org/reference/glossary#cql](https://dev.folio.org/reference/glossary#cql)) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.
offset
Integer
Skip over a number of elements by specifying an offset value for the query.
limit
Integer
Limit the number of elements returned in the response.

Responses


submitReindexJob


/authority-storage/reindex

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 "https://localhost:8081/authority-storage/reindex"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.AuthorityStorageReindexApi;

import java.io.File;
import java.util.*;

public class AuthorityStorageReindexApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        AuthorityStorageReindexApi apiInstance = new AuthorityStorageReindexApi();

        try {
            reindexJobDto result = apiInstance.submitReindexJob();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageReindexApi#submitReindexJob");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.submitReindexJob();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->submitReindexJob: $e\n');
}

import org.openapitools.client.api.AuthorityStorageReindexApi;

public class AuthorityStorageReindexApiExample {
    public static void main(String[] args) {
        AuthorityStorageReindexApi apiInstance = new AuthorityStorageReindexApi();

        try {
            reindexJobDto result = apiInstance.submitReindexJob();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AuthorityStorageReindexApi#submitReindexJob");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
AuthorityStorageReindexApi *apiInstance = [[AuthorityStorageReindexApi alloc] init];

[apiInstance submitReindexJobWithCompletionHandler: 
              ^(reindexJobDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.AuthorityStorageReindexApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.submitReindexJob(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class submitReindexJobExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new AuthorityStorageReindexApi();

            try {
                reindexJobDto result = apiInstance.submitReindexJob();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling AuthorityStorageReindexApi.submitReindexJob: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\AuthorityStorageReindexApi();

try {
    $result = $api_instance->submitReindexJob();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AuthorityStorageReindexApi->submitReindexJob: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::AuthorityStorageReindexApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::AuthorityStorageReindexApi->new();

eval {
    my $result = $api_instance->submitReindexJob();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AuthorityStorageReindexApi->submitReindexJob: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.AuthorityStorageReindexApi()

try:
    api_response = api_instance.submit_reindex_job()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AuthorityStorageReindexApi->submitReindexJob: %s\n" % e)
extern crate AuthorityStorageReindexApi;

pub fn main() {

    let mut context = AuthorityStorageReindexApi::Context::default();
    let result = client.submitReindexJob(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


InstanceAuthorityLinksStatistics

getAuthorityLinksStats

Retrieve authority updates (related to links) statistics


/links/stats/authority

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/links/stats/authority?fromDate=2013-10-20T19:20:30+01:00&toDate=2013-10-20T19:20:30+01:00&action=&limit=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.InstanceAuthorityLinksStatisticsApi;

import java.io.File;
import java.util.*;

public class InstanceAuthorityLinksStatisticsApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        InstanceAuthorityLinksStatisticsApi apiInstance = new InstanceAuthorityLinksStatisticsApi();
        Date fromDate = 2013-10-20T19:20:30+01:00; // Date | Start date to seek from
        Date toDate = 2013-10-20T19:20:30+01:00; // Date | End date to seek from
        LinkAction action = ; // LinkAction | Action to filter by
        Integer limit = 56; // Integer | Max number of items in collection

        try {
            authorityStatsDtoCollection result = apiInstance.getAuthorityLinksStats(fromDate, toDate, action, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceAuthorityLinksStatisticsApi#getAuthorityLinksStats");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Date fromDate = new Date(); // Date | Start date to seek from
final Date toDate = new Date(); // Date | End date to seek from
final LinkAction action = new LinkAction(); // LinkAction | Action to filter by
final Integer limit = new Integer(); // Integer | Max number of items in collection

try {
    final result = await api_instance.getAuthorityLinksStats(fromDate, toDate, action, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getAuthorityLinksStats: $e\n');
}

import org.openapitools.client.api.InstanceAuthorityLinksStatisticsApi;

public class InstanceAuthorityLinksStatisticsApiExample {
    public static void main(String[] args) {
        InstanceAuthorityLinksStatisticsApi apiInstance = new InstanceAuthorityLinksStatisticsApi();
        Date fromDate = 2013-10-20T19:20:30+01:00; // Date | Start date to seek from
        Date toDate = 2013-10-20T19:20:30+01:00; // Date | End date to seek from
        LinkAction action = ; // LinkAction | Action to filter by
        Integer limit = 56; // Integer | Max number of items in collection

        try {
            authorityStatsDtoCollection result = apiInstance.getAuthorityLinksStats(fromDate, toDate, action, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceAuthorityLinksStatisticsApi#getAuthorityLinksStats");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
InstanceAuthorityLinksStatisticsApi *apiInstance = [[InstanceAuthorityLinksStatisticsApi alloc] init];
Date *fromDate = 2013-10-20T19:20:30+01:00; // Start date to seek from (optional) (default to null)
Date *toDate = 2013-10-20T19:20:30+01:00; // End date to seek from (optional) (default to null)
LinkAction *action = ; // Action to filter by (optional) (default to null)
Integer *limit = 56; // Max number of items in collection (optional) (default to 100)

[apiInstance getAuthorityLinksStatsWith:fromDate
    toDate:toDate
    action:action
    limit:limit
              completionHandler: ^(authorityStatsDtoCollection output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.InstanceAuthorityLinksStatisticsApi()
var opts = {
  'fromDate': 2013-10-20T19:20:30+01:00, // {Date} Start date to seek from
  'toDate': 2013-10-20T19:20:30+01:00, // {Date} End date to seek from
  'action': , // {LinkAction} Action to filter by
  'limit': 56 // {Integer} Max number of items in collection
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAuthorityLinksStats(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getAuthorityLinksStatsExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new InstanceAuthorityLinksStatisticsApi();
            var fromDate = 2013-10-20T19:20:30+01:00;  // Date | Start date to seek from (optional)  (default to null)
            var toDate = 2013-10-20T19:20:30+01:00;  // Date | End date to seek from (optional)  (default to null)
            var action = new LinkAction(); // LinkAction | Action to filter by (optional)  (default to null)
            var limit = 56;  // Integer | Max number of items in collection (optional)  (default to 100)

            try {
                authorityStatsDtoCollection result = apiInstance.getAuthorityLinksStats(fromDate, toDate, action, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling InstanceAuthorityLinksStatisticsApi.getAuthorityLinksStats: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\InstanceAuthorityLinksStatisticsApi();
$fromDate = 2013-10-20T19:20:30+01:00; // Date | Start date to seek from
$toDate = 2013-10-20T19:20:30+01:00; // Date | End date to seek from
$action = ; // LinkAction | Action to filter by
$limit = 56; // Integer | Max number of items in collection

try {
    $result = $api_instance->getAuthorityLinksStats($fromDate, $toDate, $action, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceAuthorityLinksStatisticsApi->getAuthorityLinksStats: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::InstanceAuthorityLinksStatisticsApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::InstanceAuthorityLinksStatisticsApi->new();
my $fromDate = 2013-10-20T19:20:30+01:00; # Date | Start date to seek from
my $toDate = 2013-10-20T19:20:30+01:00; # Date | End date to seek from
my $action = ; # LinkAction | Action to filter by
my $limit = 56; # Integer | Max number of items in collection

eval {
    my $result = $api_instance->getAuthorityLinksStats(fromDate => $fromDate, toDate => $toDate, action => $action, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceAuthorityLinksStatisticsApi->getAuthorityLinksStats: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.InstanceAuthorityLinksStatisticsApi()
fromDate = 2013-10-20T19:20:30+01:00 # Date | Start date to seek from (optional) (default to null)
toDate = 2013-10-20T19:20:30+01:00 # Date | End date to seek from (optional) (default to null)
action =  # LinkAction | Action to filter by (optional) (default to null)
limit = 56 # Integer | Max number of items in collection (optional) (default to 100)

try:
    api_response = api_instance.get_authority_links_stats(fromDate=fromDate, toDate=toDate, action=action, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceAuthorityLinksStatisticsApi->getAuthorityLinksStats: %s\n" % e)
extern crate InstanceAuthorityLinksStatisticsApi;

pub fn main() {
    let fromDate = 2013-10-20T19:20:30+01:00; // Date
    let toDate = 2013-10-20T19:20:30+01:00; // Date
    let action = ; // LinkAction
    let limit = 56; // Integer

    let mut context = InstanceAuthorityLinksStatisticsApi::Context::default();
    let result = client.getAuthorityLinksStats(fromDate, toDate, action, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
fromDate
Date (date-time)
Start date to seek from
toDate
Date (date-time)
End date to seek from
action
LinkAction
Action to filter by
limit
Integer
Max number of items in collection

Responses


getLinkedBibUpdateStats

Retrieve linked bib update statistics


/links/stats/instance

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/links/stats/instance?fromDate=2013-10-20T19:20:30+01:00&toDate=2013-10-20T19:20:30+01:00&status=&limit=56"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.InstanceAuthorityLinksStatisticsApi;

import java.io.File;
import java.util.*;

public class InstanceAuthorityLinksStatisticsApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        InstanceAuthorityLinksStatisticsApi apiInstance = new InstanceAuthorityLinksStatisticsApi();
        Date fromDate = 2013-10-20T19:20:30+01:00; // Date | Start date to seek from
        Date toDate = 2013-10-20T19:20:30+01:00; // Date | End date to seek to
        LinkStatus status = ; // LinkStatus | Status to filter by
        Integer limit = 56; // Integer | Max number of items in collection

        try {
            bibStatsDtoCollection result = apiInstance.getLinkedBibUpdateStats(fromDate, toDate, status, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceAuthorityLinksStatisticsApi#getLinkedBibUpdateStats");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Date fromDate = new Date(); // Date | Start date to seek from
final Date toDate = new Date(); // Date | End date to seek to
final LinkStatus status = new LinkStatus(); // LinkStatus | Status to filter by
final Integer limit = new Integer(); // Integer | Max number of items in collection

try {
    final result = await api_instance.getLinkedBibUpdateStats(fromDate, toDate, status, limit);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getLinkedBibUpdateStats: $e\n');
}

import org.openapitools.client.api.InstanceAuthorityLinksStatisticsApi;

public class InstanceAuthorityLinksStatisticsApiExample {
    public static void main(String[] args) {
        InstanceAuthorityLinksStatisticsApi apiInstance = new InstanceAuthorityLinksStatisticsApi();
        Date fromDate = 2013-10-20T19:20:30+01:00; // Date | Start date to seek from
        Date toDate = 2013-10-20T19:20:30+01:00; // Date | End date to seek to
        LinkStatus status = ; // LinkStatus | Status to filter by
        Integer limit = 56; // Integer | Max number of items in collection

        try {
            bibStatsDtoCollection result = apiInstance.getLinkedBibUpdateStats(fromDate, toDate, status, limit);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceAuthorityLinksStatisticsApi#getLinkedBibUpdateStats");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
InstanceAuthorityLinksStatisticsApi *apiInstance = [[InstanceAuthorityLinksStatisticsApi alloc] init];
Date *fromDate = 2013-10-20T19:20:30+01:00; // Start date to seek from (optional) (default to null)
Date *toDate = 2013-10-20T19:20:30+01:00; // End date to seek to (optional) (default to null)
LinkStatus *status = ; // Status to filter by (optional) (default to null)
Integer *limit = 56; // Max number of items in collection (optional) (default to 100)

[apiInstance getLinkedBibUpdateStatsWith:fromDate
    toDate:toDate
    status:status
    limit:limit
              completionHandler: ^(bibStatsDtoCollection output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.InstanceAuthorityLinksStatisticsApi()
var opts = {
  'fromDate': 2013-10-20T19:20:30+01:00, // {Date} Start date to seek from
  'toDate': 2013-10-20T19:20:30+01:00, // {Date} End date to seek to
  'status': , // {LinkStatus} Status to filter by
  'limit': 56 // {Integer} Max number of items in collection
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getLinkedBibUpdateStats(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getLinkedBibUpdateStatsExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new InstanceAuthorityLinksStatisticsApi();
            var fromDate = 2013-10-20T19:20:30+01:00;  // Date | Start date to seek from (optional)  (default to null)
            var toDate = 2013-10-20T19:20:30+01:00;  // Date | End date to seek to (optional)  (default to null)
            var status = new LinkStatus(); // LinkStatus | Status to filter by (optional)  (default to null)
            var limit = 56;  // Integer | Max number of items in collection (optional)  (default to 100)

            try {
                bibStatsDtoCollection result = apiInstance.getLinkedBibUpdateStats(fromDate, toDate, status, limit);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling InstanceAuthorityLinksStatisticsApi.getLinkedBibUpdateStats: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\InstanceAuthorityLinksStatisticsApi();
$fromDate = 2013-10-20T19:20:30+01:00; // Date | Start date to seek from
$toDate = 2013-10-20T19:20:30+01:00; // Date | End date to seek to
$status = ; // LinkStatus | Status to filter by
$limit = 56; // Integer | Max number of items in collection

try {
    $result = $api_instance->getLinkedBibUpdateStats($fromDate, $toDate, $status, $limit);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceAuthorityLinksStatisticsApi->getLinkedBibUpdateStats: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::InstanceAuthorityLinksStatisticsApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::InstanceAuthorityLinksStatisticsApi->new();
my $fromDate = 2013-10-20T19:20:30+01:00; # Date | Start date to seek from
my $toDate = 2013-10-20T19:20:30+01:00; # Date | End date to seek to
my $status = ; # LinkStatus | Status to filter by
my $limit = 56; # Integer | Max number of items in collection

eval {
    my $result = $api_instance->getLinkedBibUpdateStats(fromDate => $fromDate, toDate => $toDate, status => $status, limit => $limit);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceAuthorityLinksStatisticsApi->getLinkedBibUpdateStats: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.InstanceAuthorityLinksStatisticsApi()
fromDate = 2013-10-20T19:20:30+01:00 # Date | Start date to seek from (optional) (default to null)
toDate = 2013-10-20T19:20:30+01:00 # Date | End date to seek to (optional) (default to null)
status =  # LinkStatus | Status to filter by (optional) (default to null)
limit = 56 # Integer | Max number of items in collection (optional) (default to 100)

try:
    api_response = api_instance.get_linked_bib_update_stats(fromDate=fromDate, toDate=toDate, status=status, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceAuthorityLinksStatisticsApi->getLinkedBibUpdateStats: %s\n" % e)
extern crate InstanceAuthorityLinksStatisticsApi;

pub fn main() {
    let fromDate = 2013-10-20T19:20:30+01:00; // Date
    let toDate = 2013-10-20T19:20:30+01:00; // Date
    let status = ; // LinkStatus
    let limit = 56; // Integer

    let mut context = InstanceAuthorityLinksStatisticsApi::Context::default();
    let result = client.getLinkedBibUpdateStats(fromDate, toDate, status, limit, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
fromDate
Date (date-time)
Start date to seek from
toDate
Date (date-time)
End date to seek to
status
LinkStatus
Status to filter by
limit
Integer
Max number of items in collection

Responses


LinkingRules

getInstanceAuthorityLinkingRuleById

Retrieve instance-authority linking rule by ID


/linking-rules/instance-authority/{ruleId}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/linking-rules/instance-authority/{ruleId}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.LinkingRulesApi;

import java.io.File;
import java.util.*;

public class LinkingRulesApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        LinkingRulesApi apiInstance = new LinkingRulesApi();
        Integer ruleId = 56; // Integer | ID of the instance-authority linking rule

        try {
            linkingRuleDto result = apiInstance.getInstanceAuthorityLinkingRuleById(ruleId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LinkingRulesApi#getInstanceAuthorityLinkingRuleById");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer ruleId = new Integer(); // Integer | ID of the instance-authority linking rule

try {
    final result = await api_instance.getInstanceAuthorityLinkingRuleById(ruleId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getInstanceAuthorityLinkingRuleById: $e\n');
}

import org.openapitools.client.api.LinkingRulesApi;

public class LinkingRulesApiExample {
    public static void main(String[] args) {
        LinkingRulesApi apiInstance = new LinkingRulesApi();
        Integer ruleId = 56; // Integer | ID of the instance-authority linking rule

        try {
            linkingRuleDto result = apiInstance.getInstanceAuthorityLinkingRuleById(ruleId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LinkingRulesApi#getInstanceAuthorityLinkingRuleById");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
LinkingRulesApi *apiInstance = [[LinkingRulesApi alloc] init];
Integer *ruleId = 56; // ID of the instance-authority linking rule (default to null)

[apiInstance getInstanceAuthorityLinkingRuleByIdWith:ruleId
              completionHandler: ^(linkingRuleDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.LinkingRulesApi()
var ruleId = 56; // {Integer} ID of the instance-authority linking rule

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getInstanceAuthorityLinkingRuleById(ruleId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getInstanceAuthorityLinkingRuleByIdExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new LinkingRulesApi();
            var ruleId = 56;  // Integer | ID of the instance-authority linking rule (default to null)

            try {
                linkingRuleDto result = apiInstance.getInstanceAuthorityLinkingRuleById(ruleId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling LinkingRulesApi.getInstanceAuthorityLinkingRuleById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\LinkingRulesApi();
$ruleId = 56; // Integer | ID of the instance-authority linking rule

try {
    $result = $api_instance->getInstanceAuthorityLinkingRuleById($ruleId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkingRulesApi->getInstanceAuthorityLinkingRuleById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::LinkingRulesApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::LinkingRulesApi->new();
my $ruleId = 56; # Integer | ID of the instance-authority linking rule

eval {
    my $result = $api_instance->getInstanceAuthorityLinkingRuleById(ruleId => $ruleId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LinkingRulesApi->getInstanceAuthorityLinkingRuleById: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.LinkingRulesApi()
ruleId = 56 # Integer | ID of the instance-authority linking rule (default to null)

try:
    api_response = api_instance.get_instance_authority_linking_rule_by_id(ruleId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LinkingRulesApi->getInstanceAuthorityLinkingRuleById: %s\n" % e)
extern crate LinkingRulesApi;

pub fn main() {
    let ruleId = 56; // Integer

    let mut context = LinkingRulesApi::Context::default();
    let result = client.getInstanceAuthorityLinkingRuleById(ruleId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
ruleId*
Integer
ID of the instance-authority linking rule
Required

Responses


getInstanceAuthorityLinkingRules

Retrieve instance-authority linking rules


/linking-rules/instance-authority

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://localhost:8081/linking-rules/instance-authority"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.LinkingRulesApi;

import java.io.File;
import java.util.*;

public class LinkingRulesApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        LinkingRulesApi apiInstance = new LinkingRulesApi();

        try {
            array[linkingRuleDto] result = apiInstance.getInstanceAuthorityLinkingRules();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LinkingRulesApi#getInstanceAuthorityLinkingRules");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.getInstanceAuthorityLinkingRules();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getInstanceAuthorityLinkingRules: $e\n');
}

import org.openapitools.client.api.LinkingRulesApi;

public class LinkingRulesApiExample {
    public static void main(String[] args) {
        LinkingRulesApi apiInstance = new LinkingRulesApi();

        try {
            array[linkingRuleDto] result = apiInstance.getInstanceAuthorityLinkingRules();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LinkingRulesApi#getInstanceAuthorityLinkingRules");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
LinkingRulesApi *apiInstance = [[LinkingRulesApi alloc] init];

[apiInstance getInstanceAuthorityLinkingRulesWithCompletionHandler: 
              ^(array[linkingRuleDto] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.LinkingRulesApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getInstanceAuthorityLinkingRules(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getInstanceAuthorityLinkingRulesExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new LinkingRulesApi();

            try {
                array[linkingRuleDto] result = apiInstance.getInstanceAuthorityLinkingRules();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling LinkingRulesApi.getInstanceAuthorityLinkingRules: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\LinkingRulesApi();

try {
    $result = $api_instance->getInstanceAuthorityLinkingRules();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkingRulesApi->getInstanceAuthorityLinkingRules: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::LinkingRulesApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::LinkingRulesApi->new();

eval {
    my $result = $api_instance->getInstanceAuthorityLinkingRules();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LinkingRulesApi->getInstanceAuthorityLinkingRules: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.LinkingRulesApi()

try:
    api_response = api_instance.get_instance_authority_linking_rules()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LinkingRulesApi->getInstanceAuthorityLinkingRules: %s\n" % e)
extern crate LinkingRulesApi;

pub fn main() {

    let mut context = LinkingRulesApi::Context::default();
    let result = client.getInstanceAuthorityLinkingRules(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


patchInstanceAuthorityLinkingRuleById

Partially update instance-authority linking rule by ID


/linking-rules/instance-authority/{ruleId}

Usage and SDK Samples

curl -X PATCH \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://localhost:8081/linking-rules/instance-authority/{ruleId}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.LinkingRulesApi;

import java.io.File;
import java.util.*;

public class LinkingRulesApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        LinkingRulesApi apiInstance = new LinkingRulesApi();
        Integer ruleId = 56; // Integer | ID of the instance-authority linking rule
        LinkingRulePatchRequest linkingRulePatchRequest = ; // LinkingRulePatchRequest | 

        try {
            linkingRuleDto result = apiInstance.patchInstanceAuthorityLinkingRuleById(ruleId, linkingRulePatchRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LinkingRulesApi#patchInstanceAuthorityLinkingRuleById");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer ruleId = new Integer(); // Integer | ID of the instance-authority linking rule
final LinkingRulePatchRequest linkingRulePatchRequest = new LinkingRulePatchRequest(); // LinkingRulePatchRequest | 

try {
    final result = await api_instance.patchInstanceAuthorityLinkingRuleById(ruleId, linkingRulePatchRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->patchInstanceAuthorityLinkingRuleById: $e\n');
}

import org.openapitools.client.api.LinkingRulesApi;

public class LinkingRulesApiExample {
    public static void main(String[] args) {
        LinkingRulesApi apiInstance = new LinkingRulesApi();
        Integer ruleId = 56; // Integer | ID of the instance-authority linking rule
        LinkingRulePatchRequest linkingRulePatchRequest = ; // LinkingRulePatchRequest | 

        try {
            linkingRuleDto result = apiInstance.patchInstanceAuthorityLinkingRuleById(ruleId, linkingRulePatchRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LinkingRulesApi#patchInstanceAuthorityLinkingRuleById");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
LinkingRulesApi *apiInstance = [[LinkingRulesApi alloc] init];
Integer *ruleId = 56; // ID of the instance-authority linking rule (default to null)
LinkingRulePatchRequest *linkingRulePatchRequest = ; // 

[apiInstance patchInstanceAuthorityLinkingRuleByIdWith:ruleId
    linkingRulePatchRequest:linkingRulePatchRequest
              completionHandler: ^(linkingRuleDto output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.LinkingRulesApi()
var ruleId = 56; // {Integer} ID of the instance-authority linking rule
var linkingRulePatchRequest = ; // {LinkingRulePatchRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.patchInstanceAuthorityLinkingRuleById(ruleId, linkingRulePatchRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class patchInstanceAuthorityLinkingRuleByIdExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new LinkingRulesApi();
            var ruleId = 56;  // Integer | ID of the instance-authority linking rule (default to null)
            var linkingRulePatchRequest = new LinkingRulePatchRequest(); // LinkingRulePatchRequest | 

            try {
                linkingRuleDto result = apiInstance.patchInstanceAuthorityLinkingRuleById(ruleId, linkingRulePatchRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling LinkingRulesApi.patchInstanceAuthorityLinkingRuleById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\LinkingRulesApi();
$ruleId = 56; // Integer | ID of the instance-authority linking rule
$linkingRulePatchRequest = ; // LinkingRulePatchRequest | 

try {
    $result = $api_instance->patchInstanceAuthorityLinkingRuleById($ruleId, $linkingRulePatchRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinkingRulesApi->patchInstanceAuthorityLinkingRuleById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::LinkingRulesApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::LinkingRulesApi->new();
my $ruleId = 56; # Integer | ID of the instance-authority linking rule
my $linkingRulePatchRequest = WWW::OPenAPIClient::Object::LinkingRulePatchRequest->new(); # LinkingRulePatchRequest | 

eval {
    my $result = $api_instance->patchInstanceAuthorityLinkingRuleById(ruleId => $ruleId, linkingRulePatchRequest => $linkingRulePatchRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LinkingRulesApi->patchInstanceAuthorityLinkingRuleById: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.LinkingRulesApi()
ruleId = 56 # Integer | ID of the instance-authority linking rule (default to null)
linkingRulePatchRequest =  # LinkingRulePatchRequest | 

try:
    api_response = api_instance.patch_instance_authority_linking_rule_by_id(ruleId, linkingRulePatchRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LinkingRulesApi->patchInstanceAuthorityLinkingRuleById: %s\n" % e)
extern crate LinkingRulesApi;

pub fn main() {
    let ruleId = 56; // Integer
    let linkingRulePatchRequest = ; // LinkingRulePatchRequest

    let mut context = LinkingRulesApi::Context::default();
    let result = client.patchInstanceAuthorityLinkingRuleById(ruleId, linkingRulePatchRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
ruleId*
Integer
ID of the instance-authority linking rule
Required
Body parameters
Name Description
linkingRulePatchRequest *

Responses


LinksSuggestions

suggestLinksForMarcRecord

Retrieve links suggestions for marc records


/links-suggestions/marc

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://localhost:8081/links-suggestions/marc?authoritySearchParameter=&ignoreAutoLinkingEnabled=true" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.LinksSuggestionsApi;

import java.io.File;
import java.util.*;

public class LinksSuggestionsApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        LinksSuggestionsApi apiInstance = new LinksSuggestionsApi();
        ParsedRecordContentCollection parsedRecordContentCollection = ; // ParsedRecordContentCollection | 
        AuthoritySearchParameter authoritySearchParameter = ; // AuthoritySearchParameter | Authority field to search by
        Boolean ignoreAutoLinkingEnabled = true; // Boolean | Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions

        try {
            parsedRecordContentCollection result = apiInstance.suggestLinksForMarcRecord(parsedRecordContentCollection, authoritySearchParameter, ignoreAutoLinkingEnabled);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LinksSuggestionsApi#suggestLinksForMarcRecord");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ParsedRecordContentCollection parsedRecordContentCollection = new ParsedRecordContentCollection(); // ParsedRecordContentCollection | 
final AuthoritySearchParameter authoritySearchParameter = new AuthoritySearchParameter(); // AuthoritySearchParameter | Authority field to search by
final Boolean ignoreAutoLinkingEnabled = new Boolean(); // Boolean | Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions

try {
    final result = await api_instance.suggestLinksForMarcRecord(parsedRecordContentCollection, authoritySearchParameter, ignoreAutoLinkingEnabled);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->suggestLinksForMarcRecord: $e\n');
}

import org.openapitools.client.api.LinksSuggestionsApi;

public class LinksSuggestionsApiExample {
    public static void main(String[] args) {
        LinksSuggestionsApi apiInstance = new LinksSuggestionsApi();
        ParsedRecordContentCollection parsedRecordContentCollection = ; // ParsedRecordContentCollection | 
        AuthoritySearchParameter authoritySearchParameter = ; // AuthoritySearchParameter | Authority field to search by
        Boolean ignoreAutoLinkingEnabled = true; // Boolean | Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions

        try {
            parsedRecordContentCollection result = apiInstance.suggestLinksForMarcRecord(parsedRecordContentCollection, authoritySearchParameter, ignoreAutoLinkingEnabled);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling LinksSuggestionsApi#suggestLinksForMarcRecord");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
LinksSuggestionsApi *apiInstance = [[LinksSuggestionsApi alloc] init];
ParsedRecordContentCollection *parsedRecordContentCollection = ; // 
AuthoritySearchParameter *authoritySearchParameter = ; // Authority field to search by (optional) (default to null)
Boolean *ignoreAutoLinkingEnabled = true; // Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions (optional) (default to false)

[apiInstance suggestLinksForMarcRecordWith:parsedRecordContentCollection
    authoritySearchParameter:authoritySearchParameter
    ignoreAutoLinkingEnabled:ignoreAutoLinkingEnabled
              completionHandler: ^(parsedRecordContentCollection output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var EntitiesLinksApi = require('entities_links_api');

// Create an instance of the API class
var api = new EntitiesLinksApi.LinksSuggestionsApi()
var parsedRecordContentCollection = ; // {ParsedRecordContentCollection} 
var opts = {
  'authoritySearchParameter': , // {AuthoritySearchParameter} Authority field to search by
  'ignoreAutoLinkingEnabled': true // {Boolean} Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.suggestLinksForMarcRecord(parsedRecordContentCollection, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class suggestLinksForMarcRecordExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new LinksSuggestionsApi();
            var parsedRecordContentCollection = new ParsedRecordContentCollection(); // ParsedRecordContentCollection | 
            var authoritySearchParameter = new AuthoritySearchParameter(); // AuthoritySearchParameter | Authority field to search by (optional)  (default to null)
            var ignoreAutoLinkingEnabled = true;  // Boolean | Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions (optional)  (default to false)

            try {
                parsedRecordContentCollection result = apiInstance.suggestLinksForMarcRecord(parsedRecordContentCollection, authoritySearchParameter, ignoreAutoLinkingEnabled);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling LinksSuggestionsApi.suggestLinksForMarcRecord: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\LinksSuggestionsApi();
$parsedRecordContentCollection = ; // ParsedRecordContentCollection | 
$authoritySearchParameter = ; // AuthoritySearchParameter | Authority field to search by
$ignoreAutoLinkingEnabled = true; // Boolean | Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions

try {
    $result = $api_instance->suggestLinksForMarcRecord($parsedRecordContentCollection, $authoritySearchParameter, $ignoreAutoLinkingEnabled);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling LinksSuggestionsApi->suggestLinksForMarcRecord: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::LinksSuggestionsApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::LinksSuggestionsApi->new();
my $parsedRecordContentCollection = WWW::OPenAPIClient::Object::ParsedRecordContentCollection->new(); # ParsedRecordContentCollection | 
my $authoritySearchParameter = ; # AuthoritySearchParameter | Authority field to search by
my $ignoreAutoLinkingEnabled = true; # Boolean | Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions

eval {
    my $result = $api_instance->suggestLinksForMarcRecord(parsedRecordContentCollection => $parsedRecordContentCollection, authoritySearchParameter => $authoritySearchParameter, ignoreAutoLinkingEnabled => $ignoreAutoLinkingEnabled);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling LinksSuggestionsApi->suggestLinksForMarcRecord: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.LinksSuggestionsApi()
parsedRecordContentCollection =  # ParsedRecordContentCollection | 
authoritySearchParameter =  # AuthoritySearchParameter | Authority field to search by (optional) (default to null)
ignoreAutoLinkingEnabled = true # Boolean | Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions (optional) (default to false)

try:
    api_response = api_instance.suggest_links_for_marc_record(parsedRecordContentCollection, authoritySearchParameter=authoritySearchParameter, ignoreAutoLinkingEnabled=ignoreAutoLinkingEnabled)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling LinksSuggestionsApi->suggestLinksForMarcRecord: %s\n" % e)
extern crate LinksSuggestionsApi;

pub fn main() {
    let parsedRecordContentCollection = ; // ParsedRecordContentCollection
    let authoritySearchParameter = ; // AuthoritySearchParameter
    let ignoreAutoLinkingEnabled = true; // Boolean

    let mut context = LinksSuggestionsApi::Context::default();
    let result = client.suggestLinksForMarcRecord(parsedRecordContentCollection, authoritySearchParameter, ignoreAutoLinkingEnabled, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
parsedRecordContentCollection *

Query parameters
Name Description
authoritySearchParameter
AuthoritySearchParameter
Authority field to search by
ignoreAutoLinkingEnabled
Boolean
Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions

Responses