Commit 2944140a authored by Matija Obreza's avatar Matija Obreza

Updated for anonymous API calls

parent 1d046768
......@@ -67,7 +67,7 @@ public class QueryApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: easySmta
// Optionally configure HTTP basic authorization: easySmta
HttpBasicAuth easySmta = (HttpBasicAuth) defaultClient.getAuthentication("easySmta");
easySmta.setUsername("YOUR USERNAME");
easySmta.setPassword("YOUR PASSWORD");
......@@ -114,7 +114,9 @@ public class QueryApiExample {
## Documentation for API Endpoints
Calls to GLIS API require HTTP basic authentication with credentials from Easy-SMTA.
Calls to GLIS API may be anonymous or use HTTP basic authentication with credentials from Easy-SMTA.
Anonymous calls are subject stricter rate limits than authenticated calls.
All URIs are relative to _<https://glistest.planttreaty.org>_
......@@ -126,6 +128,7 @@ _QueryApi_ | [**search**](docs/QueryApi.md#search) | **GET
## Documentation for Models
- [Actor](docs/Actor.md)
- [ApiError](docs/ApiError.md)
- [Location](docs/Location.md)
- [Names](docs/Names.md)
......@@ -145,7 +148,7 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea
# Development of the library
1. Updarte `glis.yml` definition
1. Update `glis.yml` definition
2. Generate code using swagger with `mvn generate-sources`
## Testing
......
# Actor
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**wiews** | **String** | | [optional]
**pid** | **String** | | [optional]
**name** | **String** | | [optional]
**address** | **String** | | [optional]
**country** | **String** | ISO-3166 apha-3 country code | [optional]
......@@ -4,13 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**wiews** | **String** | | [optional]
**pid** | **String** | | [optional]
**name** | **String** | | [optional]
**address** | **String** | | [optional]
**country** | **String** | ISO-3166 apha-3 country code | [optional]
**name** | **String** | | [optional]
**pid** | **String** | | [optional]
**wiews** | **String** | | [optional]
**lat** | [**BigDecimal**](BigDecimal.md) | | [optional]
**lon** | [**BigDecimal**](BigDecimal.md) | | [optional]
......@@ -14,10 +14,10 @@ Name | Type | Description | Notes
**m05** | [**Names**](Names.md) | | [optional]
**r01** | [**List&lt;Target&gt;**](Target.md) | The URLs of websites where additional information on the PGRFA can be found. Each target is associated to one or more controlled vocabulary term code. | [optional]
**r03** | [**TermValue**](TermValue.md) | Describes the conditions of provenance of the PGRFA. MCPD equivalent is Biological status of accession [SAMPSTAT]. | [optional]
**r04** | [**Species**](Species.md) | Species: Specific epithet of the scientific name Species authority: Authority for the specific epithet Subtaxa: Any additional infra-specific taxon: subspecies, variety, form, Group Subtaxon authority: Authority for the subtaxon | [optional]
**r04** | [**Species**](Species.md) | Species: Specific epithet of the scientific name Species authority: Authority for the specific epithet Subtaxa: Any additional infra-specific taxon: subspecies, variety, form, Group Subtaxon authority: Authority for the subtaxon | [optional]
**r05** | **List&lt;String&gt;** | Registered names or other designations, such as the name of a landrace, traditional variety or modern cultivar, or some other name or designation used to identify a breeder’s selection or elite line or variety. | [optional]
**r06** | [**List&lt;OtherIdentifier&gt;**](OtherIdentifier.md) | Any other identifiers that have been assigned to identify the PGRFA material. | [optional]
**r07** | [**TermValue**](TermValue.md) | * 0 Not available under the MLS * 1 Available under the MLS * 11 The sample is of a crop listed in Annex I and is under the management and control of a Contracting Party to the Treaty and declared to be in the public domain * 12 The sample is in a collection subject to an agreement concluded under Article 15 of the Treaty * 13 The holder received the sample with SMTA * 14 The holder has voluntarily placed the sample in the MLS * 15 The sample is derived from, and distinct from, material previously received from the MLS, is still under development and not yet ready for commercialization, and may be made available at the discretion of the developer | [optional]
**r07** | [**TermValue**](TermValue.md) | The status of the PGRFA with regard to the Multilateral System of Access and Benefit-Sharing (MLS) of the International Treaty on Plant Genetic Resources for Food and Agriculture. * 0 Not available under the MLS * 1 Available under the MLS * 11 The sample is of a crop listed in Annex I and is under the management and control of a Contracting Party to the Treaty and declared to be in the public domain * 12 The sample is in a collection subject to an agreement concluded under Article 15 of the Treaty * 13 The holder received the sample with SMTA * 14 The holder has voluntarily placed the sample in the MLS * 15 The sample is derived from, and distinct from, material previously received from the MLS, is still under development and not yet ready for commercialization, and may be made available at the discretion of the developer | [optional]
**r08** | **Boolean** | Describes whether the PGRFA is still available or permanently lost after being registered. | [optional]
**a01** | [**Location**](Location.md) | Location or name of the person or organization that provided the PGRFA to the holder. | [optional]
**a02** | **String** | Unique identifier used by the provider to identify the PGRFA under the provider’s management. | [optional]
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment