forked from rsdoiel/archivesspace-api-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path22-ArchivesSpace-API-Workshop.html
More file actions
40 lines (35 loc) · 1.44 KB
/
22-ArchivesSpace-API-Workshop.html
File metadata and controls
40 lines (35 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<link href="css/slides.css" rel="stylesheet" />
</head>
<body>
<nav>
<a id="start-slide" rel="nav" href="00-ArchivesSpace-API-Workshop.html" title="Return to start of presentation">Start</a>
<a id="prev-slide" rel="nav" href="21-ArchivesSpace-API-Workshop.html" title="Previous slide">Prev</a>
<a id="next-slide" rel="nav" href="23-ArchivesSpace-API-Workshop.html" title="Next slide">Next</a>
</nav>
<section><h1>2. Make an http connection</h1>
<h2>If all has gone well</h2>
<ol>
<li>The shell will have a message saying “RESTART”</li>
<li>You’ll be prompted for the ArchivesSpace API URL</li>
<li>After entering it you’ll see the JSON blob response below.</li>
</ol>
<pre><code class="language-shell"> RESTART: /home/rsdoiel/Sites/archivespace-api-workshop/make-an-http-connection.py
ArchivesSpace API URL: http://localhost:8089
{
"databaseProductName": "MySQL",
"databaseProductVersion": "5.6.31",
"ruby_version": "1.9",
"host_os": "linux",
"host_cpu": "x86_64",
"build": "java1.6",
"archivesSpaceVersion": "v1.5.0"
}
</code></pre>
<p>Now we should be ready to learn how to authenticate with the API.</p>
</section>
<script type="text/javascript" src="js/keyboard-nav.js"></script>
</body>
</html>