With API version 3.1 the following request for a non existing document will return XML that contains information about the document and the state not found which is correct. The problem was reproduced with the API console at developers.epo.org.
https://ops.epo.org/3.1/rest-services/p ... .D1/biblio
Request:
Code: Select all
GET /3.1/rest-services/published-data/publication/docdb/DE.60226125.D1/biblio HTTP/1.1
Authorization:
Bearer xxxx
Host:
ops.epo.org
X-Target-URI:
https://ops.epo.org
Connection:
Keep-Alive
Code: Select all
HTTP/1.1 200 OK
ETag:
"0e42259bc565f3c0b56ce7010de73ea89"
X-EPO-Client-IP:
107.23.76.135
Content-Length:
914
Access-Control-Allow-Methods:
POST
Connection:
keep-alive
X-IndividualQuotaPerHour-Used:
152954
Server:
Apache
Cache-Control:
no-cache
Pragma:
no-cache
X-EPO-Forwarded:
[54.83.122.103, 107.23.76.135]
X-Throttling-Control:
idle (images=green:200, inpadoc=green:60, other=green:1000, retrieval=green:200, search=green:30)
Access-Control-Allow-Headers:
Authorization
Date:
Wed, 03 May 2017 07:21:45 GMT
Access-Control-Allow-Origin:
*
X-API:
ops-v3.1
X-AnonymousQuotaPerMinute-Used:
1
X-AnonymousQuotaPerDay-Used:
190574
Content-Type:
application/xml
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/3.0/style/exchange.xsl"?>
<ops:world-patent-data xmlns="http://www.epo.org/exchange" xmlns:ops="http://ops.epo.org" xmlns:xlink="http://www.w3.org/1999/xlink">
<ops:meta name="elapsed-time" value="5"/>
<exchange-documents>
<exchange-document system="ops.epo.org" country="DE" doc-number="60226125" kind="D1" status="not found">
<bibliographic-data>
<publication-reference>
<document-id document-id-type="docdb">
<country>DE</country>
<doc-number>60226125</doc-number>
<kind>D1</kind>
</document-id>
</publication-reference>
<parties/>
</bibliographic-data>
</exchange-document>
</exchange-documents>
</ops:world-patent-data>
Code: Select all
HTTP/1.1 404 Not Found
Content-Language:
en
X-EPO-Client-IP:
107.23.76.135
Content-Length:
179
X-RegisteredPayingQuotaPerWeek-Used:
710080
Access-Control-Allow-Methods:
POST
Connection:
keep-alive
X-IndividualQuotaPerHour-Used:
895
Server:
Apache
X-EPO-Forwarded:
[54.82.56.87, 107.23.76.135]
X-Throttling-Control:
idle (images=green:200, inpadoc=green:60, other=green:1000, retrieval=green:200, search=green:30)
X-Throttling-Control:
idle (images=green:200, inpadoc=green:60, other=green:1000, retrieval=green:200, search=green:30)
Access-Control-Allow-Headers:
Authorization
Date:
Wed, 03 May 2017 07:25:44 GMT
Access-Control-Allow-Origin:
*
X-API:
ops-v3.2
Content-Type:
application/xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fault xmlns="http://ops.epo.org">
<code>SERVER.EntityNotFound</code>
<message>No results found</message>
</fault>
I red the migration guide again and I could not find any information about this changes.
Will this behaviour stay the same?
Are there further changes like this that you could tell me?
Please let me know, if you have any further questions.