|
|
@@ -42,7 +42,7 @@ function get_publication_details($document_reference) { |
|
|
|
$access_token = get_access_token(); |
|
|
|
|
|
|
|
// OPS API credentials (details at http://documents.epo.org/projects/babylon/eponet.nsf/0/F3ECDCC915C9BCD8C1258060003AA712/$File/ops_v3.2_documentation_-_version_1.3.16_en.pdf) |
|
|
|
$ops_url = $_ENV["OPS_URL"] . 'rest-services/published-data/publication/epodoc/' . $document_reference . '/biblio'; |
|
|
|
$ops_url = $_ENV["OPS_URL"] . 'rest-services/published-data/publication/docdb/' . $document_reference . '/biblio'; |
|
|
|
|
|
|
|
// Set up API call |
|
|
|
$ch = curl_init(); |
|
|
@@ -92,7 +92,7 @@ function check_for_images($document_reference) { |
|
|
|
$access_token = get_access_token(); |
|
|
|
|
|
|
|
// OPS API credentials (details at http://documents.epo.org/projects/babylon/eponet.nsf/0/F3ECDCC915C9BCD8C1258060003AA712/$File/ops_v3.2_documentation_-_version_1.3.16_en.pdf) |
|
|
|
$ops_url = $_ENV["OPS_URL"] . 'rest-services/published-data/publication/epodoc/' . $document_reference . '/images'; |
|
|
|
$ops_url = $_ENV["OPS_URL"] . 'rest-services/published-data/publication/docdb/' . $document_reference . '/images'; |
|
|
|
|
|
|
|
// Set up API call |
|
|
|
$ch = curl_init(); |
|
|
@@ -115,7 +115,7 @@ function get_images($document_reference){ |
|
|
|
$access_token = get_access_token(); |
|
|
|
|
|
|
|
// OPS API credentials (details at http://documents.epo.org/projects/babylon/eponet.nsf/0/F3ECDCC915C9BCD8C1258060003AA712/$File/ops_v3.2_documentation_-_version_1.3.16_en.pdf) |
|
|
|
$ops_url = $_ENV["OPS_URL"] . 'rest-services/published-data/publication/epodoc/' . $document_reference . '/images'; |
|
|
|
$ops_url = $_ENV["OPS_URL"] . 'rest-services/published-data/publication/docdb/' . $document_reference . '/images'; |
|
|
|
|
|
|
|
// Set up API call |
|
|
|
$ch = curl_init(); |