Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alignment API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
moex
Alignment API
Commits
90830c51
Commit
90830c51
authored
15 years ago
by
Jérôme Euzenat
Browse files
Options
Downloads
Patches
Plain Diff
- added the first description of the rest interface
parent
56178382
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
html/rest.html
+92
-0
92 additions, 0 deletions
html/rest.html
with
92 additions
and
0 deletions
html/rest.html
0 → 100644
+
92
−
0
View file @
90830c51
<html>
<head>
<title>
Alignment API: REST interface
</title>
<!--style type="text/css">@import url(style.css);</style-->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"base.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
/>
</head>
<body
bgcolor=
"#ffffff"
>
<h1
style=
"text-align: center;"
>
REST interface for the Alignment server
</h1>
<p>
The Alignment server provides a REST interface for accessing the
functions available on the server. Each request is an URL starting
with a prefix, e.g., http://aserv.inrialpes.fr/rest/. The request type
is identified by a string followed by a question mark, e.g., match?,
and parameters are given in the classical URL syntax, e.g.,
debug=true
&
level=1.
</p>
<p>
The result of these requests are provided in XML.
In the sequel, we describe the various request types.
</p>
<h2>
find
</h2>
<p>
Find alignments related to one or two ontologies.
</p>
<p>
URL: http://aserv.inrialpes.fr/rest/find?onto1=
&
onto2=
&
</p>
<p>
Parameters:
<br
/>
<b>
onto1
</b>
and
<b>
onto2
</b>
are ontology URIs. One of them may be not provided.
</p>
<h2>
listmethods
</h2>
<p>
Get the list of matching methods available on the server.
</p>
<p>
URL: http://aserv.inrialpes.fr/rest/listmethods?
</p>
<h2>
match
</h2>
<p>
Match two ontologies.
</p>
<p>
URL: http://aserv.inrialpes.fr/rest/match?onto1=
&
onto2=
&
method=
&
force=
&
</p>
<p>
Parameters:
<br
/>
<b>
onto1
</b>
and
<b>
onto2
</b>
are ontology URIs to be matched,
<br
/>
<b>
method
</b>
is a matching method from the list
obtained by http://aserv.inrialpes.fr/rest/listmethods?
<br
/>
The parameter
<b>
force
</b>
is optional and
"force=off" by default,
<br
/>
If "force=on", a new alignment will be
produced.
<br
/>
If "force=off", the server first tries to find
an existing alignment for the two ontologies. If no alignment is found a new alignment will be produced.
</p>
<h2>
retrieve
</h2>
<p>
Retrieve an alignment in a specific format.
</p>
<p>
URL: http://aserv.inrialpes.fr/rest/retrieve?id=
&
method=
&
</p>
<p>
Parameters:
<br
/>
<b>
id
</b>
is URI of alignment to be retrieved
<br
/>
<b>
method
</b>
indicates the format in which the alignment will be
serialised this is a classname taken from those provided
by
<a
href=
"#listrenderers"
>
listrenderers
</a>
request.
</p>
<h2>
trim
</h2>
<p>
Trim an alignment with a threshhold.
</p>
<p>
URL: http://aserv.inrialpes.fr/rest/cut?id=
&
threshold=
&
</p>
<p>
Parameters:
<br
/>
<b>
id
</b>
is URI of alignment to be trimmed
<br
/>
<b>
threshold
</b>
indicates a threshold for trimming
</p>
<h2>
metadata
</h2>
<p>
Get metadata of an alignment, i.e., avoid downloading all correspondences.
</p>
<p>
URL: http://aserv.inrialpes.fr/rest/metadata?id=
</p>
<p>
Parameters:
<br
/>
<b>
id
</b>
is URI of alignment
</p>
<h2>
store
</h2>
<p>
Store an alignment on the server.
</p>
<p>
URL: http://aserv.inrialpes.fr/rest/store?id=
</p>
<p>
Parameters:
<br
/>
<b>
id
</b>
is URI of alignment to be stored
</p>
<h2>
load
</h2>
<p>
Upload an alignment to the server.
</p>
<p>
URI: http://aserv.inrialpes.fr/rest/load?
</p>
<p>
Since this function uses POST request method, the content of alignment does not appear in URL.
</p>
<address>
<small>
<hr
/>
<center>
http://alignapi.gforge.inria.fr/rest.html
</center>
<hr
/>
$Id$
</small>
</body>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment