Skip to content

Commit 11793ba

Browse files
committed
Update archive_query_api.md
1 parent 8e2134a commit 11793ba

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

archive_query_api.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Archive Arrangement Query API
66
| Date | Changes |
77
|------|---------|
88
| 2014-01-13 | Initial version |
9+
| 2014-02-04 | Fix some typos |
910

1011
## Background
1112

@@ -39,8 +40,7 @@ by a DOI.
3940

4041
## DOI Query Path
4142

42-
A query API implementor must provide a publicly-accessible DOI query path. The path must
43-
either accept a DOI as a query parameter named `doi` to a HTTP path `/doi/status`:
43+
A query API implementor must provide a publicly-accessible DOI query path. The path must accept a DOI as a query parameter named `doi` to a HTTP path `/doi/status`:
4444

4545
http://anarchive.org/doi/status?doi={DOI}
4646

@@ -110,8 +110,8 @@ Response for a DOI whose content has been received by the archive, but is curren
110110
"content_version": "vor",
111111
"content_type": "text/xml"
112112
}
113-
]
114-
}
113+
]
114+
}
115115

116116
Response for a DOI whose content has not been received by the archive:
117117

@@ -151,8 +151,9 @@ An error response:
151151

152152
{
153153
"status": 504,
154-
"message": "Upstream service is currently unavailable."
155-
}
154+
"message": "Upstream service is currently unavailable.",
155+
"doi": "10.5555/12345678"
156+
}
156157

157158
### Response Codes
158159

0 commit comments

Comments
 (0)