forked from rsdoiel/archivesspace-api-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path46-ArchivesSpace-API-Workshop.html
More file actions
29 lines (24 loc) · 934 Bytes
/
46-ArchivesSpace-API-Workshop.html
File metadata and controls
29 lines (24 loc) · 934 Bytes
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
<!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="45-ArchivesSpace-API-Workshop.html" title="Previous slide">Prev</a>
<a id="next-slide" rel="nav" href="47-ArchivesSpace-API-Workshop.html" title="Next slide">Next</a>
</nav>
<section><h1>4. Repositories</h1>
<h2>How do we know the path?</h2>
<ul>
<li>In the API docs, look for “Get a Repository by ID”</li>
</ul>
<pre><code class="language-shell"> curl -H "X-ArchivesSpace-Session: $SESSION" \
'http://localhost:8089/repositories/1'
</code></pre>
<p>It looks like we add the numeric id to the end of the path (i.e. “/1”).</p>
</section>
<script type="text/javascript" src="js/keyboard-nav.js"></script>
</body>
</html>