Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GLIS Client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
GLIS Client
Commits
1d046768
Commit
1d046768
authored
Jun 27, 2017
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated BasePath in README.md to reflect changes in glis.yml
parent
b81d33d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+4
-4
No files found.
README.md
View file @
1d046768
...
...
@@ -31,21 +31,21 @@ To change the base URL of the GLIS api server (i.e. switch between production an
```
java
ApiClient
client
=
// ...
client
.
setBasePath
(
"https://glis.planttreaty.org
/glisapi/v1
"
)
client
.
setBasePath
(
"https://glis.planttreaty.org"
)
```
This can be done either on the
`Configuration.getDefaultApiClient()`
singleton object:
```
java
ApiClient
defaultClient
=
Configuration
.
getDefaultApiClient
();
defaultClient
.
setBasePath
(
"https://glis.planttreaty.org
/glisapi/v1
"
)
defaultClient
.
setBasePath
(
"https://glis.planttreaty.org"
)
```
... or when creating a new API instance:
```
java
ApiClient
client
=
new
ApiClient
();
client
.
setBasePath
(
"https://glis.planttreaty.org
/glisapi/v1
"
);
client
.
setBasePath
(
"https://glis.planttreaty.org"
);
QueryApi
api
=
new
QueryApi
(
client
);
```
...
...
@@ -62,7 +62,7 @@ import org.genesys.glis.v1.api.QueryApi;
import
java.io.File
;
import
java.util.*
;
public
class
Pgrfa
ApiExample
{
public
class
Query
ApiExample
{
public
static
void
main
(
String
[]
args
)
{
ApiClient
defaultClient
=
Configuration
.
getDefaultApiClient
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment