{"commit":"c646cefb2ab99765df06d4c49f2caa37ee4c2df2","subject":"fixed request type","message":"fixed request type\n","repos":"openprocurement\/openprocurement.tender.limited,VolVoz\/openprocurement.tender.limited,ivanromakh\/openprocurement.tender.limited","old_file":"docs\/source\/tutorial\/tender-award-approve.http","new_file":"docs\/source\/tutorial\/tender-award-approve.http","new_contents":"$ http -j PATCH https:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders\/2d06f1999dcf436fb61ccd0168702459\/awards\/d373338bc3324f14b8b3d4af68922773?acc_token=1234558d25d6421588b2597504b747ed data:=@.\/award.json\nPOST \/api\/0\/tenders\/2d06f1999dcf436fb61ccd0168702459\/awards\/d373338bc3324f14b8b3d4af68922773 HTTP\/1.1\r\nContent-Type: application\/json; charset=utf-8\r\n\r\n{\n \"data\": {\n \"complaintPeriod\": {\n \"endDate\": \"2016-01-15T18:16:55.895242+02:00\", \n \"startDate\": \"2016-01-14T18:07:00.631425+02:00\"\n }, \n \"date\": \"2016-01-14T18:07:00.628073+02:00\", \n \"id\": \"d373338bc3324f14b8b3d4af68922773\", \n \"status\": \"active\", \n \"suppliers\": [\n {\n \"address\": {\n \"countryName\": \"\u0423\u043a\u0440\u0430\u0457\u043d\u0430\", \n \"locality\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"postalCode\": \"21100\", \n \"region\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"streetAddress\": \"\u0432\u0443\u043b. \u041e\u0441\u0442\u0440\u043e\u0432\u0441\u044c\u043a\u043e\u0433\u043e, 33\"\n }, \n \"contactPoint\": {\n \"email\": \"soleksuk@gmail.com\", \n \"name\": \"\u0421\u0435\u0440\u0433\u0456\u0439 \u041e\u043b\u0435\u043a\u0441\u044e\u043a\", \n \"telephone\": \"+380 (432) 21-69-30\"\n }, \n \"identifier\": {\n \"id\": \"13313462\", \n \"legalName\": \"\u0414\u0435\u0440\u0436\u0430\u0432\u043d\u0435 \u043a\u043e\u043c\u0443\u043d\u0430\u043b\u044c\u043d\u0435 \u043f\u0456\u0434\u043f\u0440\u0438\u0454\u043c\u0441\u0442\u0432\u043e \u0433\u0440\u043e\u043c\u0430\u0434\u0441\u044c\u043a\u043e\u0433\u043e \u0445\u0430\u0440\u0447\u0443\u0432\u0430\u043d\u043d\u044f \u00ab\u0428\u043a\u043e\u043b\u044f\u0440\u00bb\", \n \"scheme\": \"UA-EDR\", \n \"uri\": \"http:\/\/sch10.edu.vn.ua\/\"\n }, \n \"name\": \"\u0414\u041a\u041f \u00ab\u0428\u043a\u043e\u043b\u044f\u0440\u00bb\"\n }\n ], \n \"value\": {\n \"amount\": 475000,\n \"currency\": \"UAH\", \n \"valueAddedTaxIncluded\": true\n }\n }\n}\n\n","old_contents":"$ http -j POST https:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders\/2d06f1999dcf436fb61ccd0168702459\/awards\/d373338bc3324f14b8b3d4af68922773?acc_token=1234558d25d6421588b2597504b747ed data:=@.\/award.json\nPOST \/api\/0\/tenders\/2d06f1999dcf436fb61ccd0168702459\/awards\/d373338bc3324f14b8b3d4af68922773 HTTP\/1.1\r\nContent-Type: application\/json; charset=utf-8\r\n\r\n{\n \"data\": {\n \"complaintPeriod\": {\n \"endDate\": \"2016-01-15T18:16:55.895242+02:00\", \n \"startDate\": \"2016-01-14T18:07:00.631425+02:00\"\n }, \n \"date\": \"2016-01-14T18:07:00.628073+02:00\", \n \"id\": \"d373338bc3324f14b8b3d4af68922773\", \n \"status\": \"active\", \n \"suppliers\": [\n {\n \"address\": {\n \"countryName\": \"\u0423\u043a\u0440\u0430\u0457\u043d\u0430\", \n \"locality\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"postalCode\": \"21100\", \n \"region\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"streetAddress\": \"\u0432\u0443\u043b. \u041e\u0441\u0442\u0440\u043e\u0432\u0441\u044c\u043a\u043e\u0433\u043e, 33\"\n }, \n \"contactPoint\": {\n \"email\": \"soleksuk@gmail.com\", \n \"name\": \"\u0421\u0435\u0440\u0433\u0456\u0439 \u041e\u043b\u0435\u043a\u0441\u044e\u043a\", \n \"telephone\": \"+380 (432) 21-69-30\"\n }, \n \"identifier\": {\n \"id\": \"13313462\", \n \"legalName\": \"\u0414\u0435\u0440\u0436\u0430\u0432\u043d\u0435 \u043a\u043e\u043c\u0443\u043d\u0430\u043b\u044c\u043d\u0435 \u043f\u0456\u0434\u043f\u0440\u0438\u0454\u043c\u0441\u0442\u0432\u043e \u0433\u0440\u043e\u043c\u0430\u0434\u0441\u044c\u043a\u043e\u0433\u043e \u0445\u0430\u0440\u0447\u0443\u0432\u0430\u043d\u043d\u044f \u00ab\u0428\u043a\u043e\u043b\u044f\u0440\u00bb\", \n \"scheme\": \"UA-EDR\", \n \"uri\": \"http:\/\/sch10.edu.vn.ua\/\"\n }, \n \"name\": \"\u0414\u041a\u041f \u00ab\u0428\u043a\u043e\u043b\u044f\u0440\u00bb\"\n }\n ], \n \"value\": {\n \"amount\": 475000,\n \"currency\": \"UAH\", \n \"valueAddedTaxIncluded\": true\n }\n }\n}\n\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"48f36b42926ad1cc8d4550967baf53c46c478b2d","subject":"Add more REST API tests","message":"Add more REST API tests\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n:auth-token = Token \n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Search a specific production by DAM number\nGET http:\/\/localhost:3000\/api\/productions?search=dam31411\n\n# Search a specific production by library_signature\nGET http:\/\/localhost:3000\/api\/productions?search=ds1234\n\n# Search a specific production by library_number\nGET http:\/\/localhost:3000\/api\/productions?search=PNX 8381\n\n# Search a specific production by product_number\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Search a specific production by state\nGET http:\/\/localhost:3000\/api\/productions?search=pending-split\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Delete a production\nDELETE http:\/\/localhost:3000\/api\/productions\/31411\nAuthorization: :auth-token\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\nAuthorization: :auth-token\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n <\/head>\r\n \r\n \r\n Test - whout von Test - Gubser, Paul<\/doctitle>\r\n Test - Gubser, Paul<\/docauthor>\r\n <\/frontmatter>\r\n \r\n \r\n\t\r\n\t\r\n <\/level1>\r\n <\/bodymatter>\r\n <\/book>\r\n<\/dtbook>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds12345\"\n}\n\n####################################\n# Marking a production as recorded #\n####################################\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/productions\/27707\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n# Mark a non-existing production as recorded\nPOST http:\/\/localhost:3000\/api\/productions\/1\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n# Mark production as recorded which doesn't have state 'structured'\nPOST http:\/\/localhost:3000\/api\/productions\/94\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n#################################\n# Marking a production as split #\n#################################\n\n# Mark a production as split\nPOST http:\/\/localhost:3000\/api\/productions\/29867\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark a non-existing production as split\nPOST http:\/\/localhost:3000\/api\/productions\/1\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark production as split with an invalid bit-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 5\n}\n\n# Mark production as split with an invalid sample-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44101,\n \"bit-rate\": 48\n}\n\n# Mark production as split which doesn't have state 'pending-split'\nPOST http:\/\/localhost:3000\/api\/productions\/94\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/302\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n\r\n\r\n \r\n \r\n MadrasApi<\/Application>\r\n Document<\/Id>\r\n 1.0<\/Version>\r\n <\/Parameter>\r\n \r\n \r\n DY99997<\/artikel_nr>\r\n none<\/priority>\r\n 2015-06-29<\/deadline>\r\n Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Metrics\nGET http:\/\/localhost:3000\/metrics\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n:auth-token = Token <my-secret-token>\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Delete a production\nDELETE http:\/\/localhost:3000\/api\/productions\/31411\nAuthorization: :auth-token\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds12345\"\n}\n\n####################################\n# Marking a production as recorded #\n####################################\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/productions\/27707\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n# Mark a non-existing production as recorded\nPOST http:\/\/localhost:3000\/api\/productions\/1\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n# Mark production as recorded which doesn't have state 'structured'\nPOST http:\/\/localhost:3000\/api\/productions\/94\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n#################################\n# Marking a production as split #\n#################################\n\n# Mark a production as split\nPOST http:\/\/localhost:3000\/api\/productions\/29867\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark a non-existing production as split\nPOST http:\/\/localhost:3000\/api\/productions\/1\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark production as split with an invalid bit-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 5\n}\n\n# Mark production as split with an invalid sample-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44101,\n \"bit-rate\": 48\n}\n\n# Mark production as split which doesn't have state 'pending-split'\nPOST http:\/\/localhost:3000\/api\/productions\/94\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/302\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Metrics\nGET http:\/\/localhost:3000\/metrics\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"5cc2ce67fb964440bdb5ed89d3be6ebd0eac7166","subject":"Copy listTemplateRecords fixtures from developer repo","message":"Copy listTemplateRecords fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/listTemplateRecords\/success.http","new_file":"spec\/fixtures.http\/listTemplateRecords\/success.http","new_contents":"","old_contents":"","returncode":0,"stderr":"unknown","license":"mit","lang":"HTTP"} {"commit":"727eacef769e794c87effdb04f894f4e1b1eff23","subject":"Update payouts curl responses","message":"Update payouts curl responses\n","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/03_resources\/payout\/02_list_all_payouts\/code\/example.http","new_file":"source\/docs\/03_resources\/payout\/02_list_all_payouts\/code\/example.http","new_contents":"GET https:\/\/gocardless.com\/api\/v1\/merchants\/{MERCHANT_ID}\/payouts HTTP\/1.1\n\nHTTP\/1.1 200 OK\n[\n {\n \"amount\": \"12.37\",\n \"bank_reference\": \"JOHNSMITH-Z5DRM\",\n \"app_ids\": [\n \"ABC\"\n ],\n \"created_at\": \"2013-05-10T16:34:34Z\",\n \"id\": \"0BKR1AZNJF\",\n \"paid_at\": \"2013-05-10T17:00:26Z\",\n \"transaction_fees\": \"0.13\"\n },\n {\n \"amount\": \"148.50\",\n \"bank_reference\": \"JOHNSMITH-A6GCK\",\n \"app_ids\": [\n \"BCD\"\n ],\n \"created_at\": \"2013-05-27T18:28:12Z\",\n \"id\": \"0BER2BDFRT\",\n \"paid_at\": \"2013-05-27T19:00:23Z\",\n \"transaction_fees\": \"1.50\"\n }\n]\n","old_contents":"GET https:\/\/gocardless.com\/api\/v1\/merchants\/{MERCHANT_ID}\/payouts HTTP\/1.1\n\nHTTP\/1.1 200 OK\n[\n {\n \"amount\": \"12.37\",\n \"bank_reference\": \"JOHNSMITH-Z5DRM\",\n \"created_at\": \"2013-05-10T16:34:34Z\",\n \"id\": \"0BKR1AZNJF\",\n \"paid_at\": \"2013-05-10T17:00:26Z\",\n \"transaction_fees\": \"0.13\"\n },\n {\n \"amount\": \"148.50\",\n \"bank_reference\": \"JOHNSMITH-A6GCK\",\n \"created_at\": \"2013-05-27T18:28:12Z\",\n \"id\": \"0BER2BDFRT\",\n \"paid_at\": \"2013-05-27T19:00:23Z\",\n \"transaction_fees\": \"1.50\"\n }\n]\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"da5258478d623dcfeb26c083c4eb5dc2742c87dc","subject":"Remove userId from sample request","message":"Remove userId from sample request\n","repos":"coderdojo-linz\/participants-management-service,coderdojo-linz\/participants-management-service","old_file":"sample-requests\/picked-sessions.http","new_file":"sample-requests\/picked-sessions.http","new_contents":"# @host = http:\/\/localhost:1337\/api\/sessions\n@host = https:\/\/participants-management-service.azurewebsites.net\/api\/sessions\n\n# Note that you have to get your own access tokens\n# to try the following requests\n\n###\nPOST {{host}}\/events\/gab2018\nContent-Type: application\/json\nAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NvZGVyZG9qb2xpbnouZXUuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTA3NTUzMzQ5NTgxMzg4NTAyOTU0IiwiYXVkIjoia3k3b0htN1dxSVU5TURZZzYwZWk3OFl4MEl2bHRUUTMiLCJpYXQiOjE1MjE5NjM1NTIsImV4cCI6MTUyMTk5OTU1Mn0.yLrNO99vKVrEVKctLKiTU0qxAlL51syYn9l1MM3R6-Q\n\n{\n \"eventId\": \"gab2018\",\n \"sessionId\": \"Azure101\"\n}\n\n###\nGET {{host}}\/5ab7625997e5c127783d3d09\nAccept: application\/json\nAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NvZGVyZG9qb2xpbnouZXUuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTA3NTUzMzQ5NTgxMzg4NTAyOTU0IiwiYXVkIjoia3k3b0htN1dxSVU5TURZZzYwZWk3OFl4MEl2bHRUUTMiLCJpYXQiOjE1MjE5NjM1NTIsImV4cCI6MTUyMTk5OTU1Mn0.yLrNO99vKVrEVKctLKiTU0qxAlL51syYn9l1MM3R6-Q\n\n###\nGET {{host}}\/events\/gab2018\nAccept: application\/json\nAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NvZGVyZG9qb2xpbnouZXUuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTA3NTUzMzQ5NTgxMzg4NTAyOTU0IiwiYXVkIjoia3k3b0htN1dxSVU5TURZZzYwZWk3OFl4MEl2bHRUUTMiLCJpYXQiOjE1MjE5NjM1NTIsImV4cCI6MTUyMTk5OTU1Mn0.yLrNO99vKVrEVKctLKiTU0qxAlL51syYn9l1MM3R6-Q\n\n###\nDELETE {{host}}\/5ab765596ac50a01fc1c7ece\nAccept: application\/json\nAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NvZGVyZG9qb2xpbnouZXUuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTA3NTUzMzQ5NTgxMzg4NTAyOTU0IiwiYXVkIjoia3k3b0htN1dxSVU5TURZZzYwZWk3OFl4MEl2bHRUUTMiLCJpYXQiOjE1MjE5NjM1NTIsImV4cCI6MTUyMTk5OTU1Mn0.yLrNO99vKVrEVKctLKiTU0qxAlL51syYn9l1MM3R6-Q\n","old_contents":"@host = http:\/\/localhost:1337\/api\/sessions\n# @host = https:\/\/participants-management-service.azurewebsites.net\/api\/sessions\n\n# Note that you have to get your own access tokens\n# to try the following requests\n\n###\nPOST {{host}}\/events\/gab2018\nContent-Type: application\/json\nAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NvZGVyZG9qb2xpbnouZXUuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTA3NTUzMzQ5NTgxMzg4NTAyOTU0IiwiYXVkIjoia3k3b0htN1dxSVU5TURZZzYwZWk3OFl4MEl2bHRUUTMiLCJpYXQiOjE1MjE5NjM1NTIsImV4cCI6MTUyMTk5OTU1Mn0.yLrNO99vKVrEVKctLKiTU0qxAlL51syYn9l1MM3R6-Q\n\n{\n \"eventId\": \"gab2018\",\n \"sessionId\": \"Azure101\",\n \"userId\": \"user1234\"\n}\n\n###\nGET {{host}}\/5ab7625997e5c127783d3d09\nAccept: application\/json\nAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NvZGVyZG9qb2xpbnouZXUuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTA3NTUzMzQ5NTgxMzg4NTAyOTU0IiwiYXVkIjoia3k3b0htN1dxSVU5TURZZzYwZWk3OFl4MEl2bHRUUTMiLCJpYXQiOjE1MjE5NjM1NTIsImV4cCI6MTUyMTk5OTU1Mn0.yLrNO99vKVrEVKctLKiTU0qxAlL51syYn9l1MM3R6-Q\n\n###\nGET {{host}}\/events\/gab2018\nAccept: application\/json\nAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NvZGVyZG9qb2xpbnouZXUuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTA3NTUzMzQ5NTgxMzg4NTAyOTU0IiwiYXVkIjoia3k3b0htN1dxSVU5TURZZzYwZWk3OFl4MEl2bHRUUTMiLCJpYXQiOjE1MjE5NjM1NTIsImV4cCI6MTUyMTk5OTU1Mn0.yLrNO99vKVrEVKctLKiTU0qxAlL51syYn9l1MM3R6-Q\n\n###\nDELETE {{host}}\/5ab7625b97e5c127783d3d0a\nAccept: application\/json\nAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2NvZGVyZG9qb2xpbnouZXUuYXV0aDAuY29tLyIsInN1YiI6Imdvb2dsZS1vYXV0aDJ8MTA3NTUzMzQ5NTgxMzg4NTAyOTU0IiwiYXVkIjoia3k3b0htN1dxSVU5TURZZzYwZWk3OFl4MEl2bHRUUTMiLCJpYXQiOjE1MjE5NjM1NTIsImV4cCI6MTUyMTk5OTU1Mn0.yLrNO99vKVrEVKctLKiTU0qxAlL51syYn9l1MM3R6-Q\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"f04d3156028bda2233512366c364a2c1837ce289","subject":"cleanup","message":"cleanup\n","repos":"jagilber\/powershellScripts,jagilber\/powershellScripts","old_file":"REST.http","new_file":"REST.http","new_contents":"\n##\n# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n##\n\n##\n#\n# cert setup. place in vscode 'setttings.json'\n#\"rest-client.certificates\": {\n# \"%fqdn%: {\n# \"pfx\": \"%path to pfx file%\",\n# \"passphrase\": \"\"\n# }\n# },\n##\n\n##\n# azure aadv1 setup\n#\n# \"rest-client.environmentVariables\": {\n# \"$shared\": {\n# \"subscriptionId\": \"\",\n# \"tenantId\": \"\"\n# }\n# }\n##\n\n# ip info\nhttps:\/\/ipinfo.io\/json\n###\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n###\nGET https:\/\/api.github.com\/repos\/microsoft\/CollectServiceFabricData\/releases\/latest\n\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n@downloads = {{repoQuery.response.body.$.downloads_url}}\nGET {{downloads}}\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n###\n\n###\n# convert google news to text\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/news.google.com \n###\n\n# nuget api test\n@id = https:\/\/azuresearch-usnc.nuget.org\/query\n@QUERY = Microsoft.ServiceFabric.CollectSFData\n@SKIP = 0\n@TAKE = 10\n@PRERELEASE = false\n#@SEMVERLEVEL = {{}}\n#@PACKAGETYPE = {{}}\nGET {{id}}?q={{QUERY}}&skip={{SKIP}}&take={{TAKE}}&prerelease={{PRERELEASE}}\n#&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}\n\n###\nGET https:\/\/www.w3.org\/services\/html2txt?url=https:\/\/devblogs.microsoft.com\/powershell\/arm-dsc-extension-settings\/\n###\n\n\n###\n@cluster = sfcluster\n@location = eastus\n@apiversion = 6.4\n@managementPort = 19080\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/BackupRestore\/BackupPolicies?api-version={{apiversion}}\n\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/Applications\/?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/GetClusterManifest?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/$\/GetClusterHealth?api-version={{apiversion}}\nGET https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/Explorer\n###\n\n###\n@storageAccountName = sflogsxxxxxxxxxxxxxxxxxx\n@tableSasToken = ?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacupx&se=2021-03-25T10:16:34Z&st=2021-03-25T02:16:34Z&spr=https&sig=DEIyaWBlIKe0Nru1ubEbb6u5t787LwoqQ5UVWgxMoJQ%3D\n@storageObjectToQuery = fabriclog8de7b13a4137454a9ad5a356fa0c3159Api\nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}\n\n###\nGET https:\/\/localhost:44394\/api\/configurationJson HTTP\/1.1\ncontent-type: application\/json\n\n###\nGET https:\/\/localhost:44394\/api\/configurationOptions HTTP\/1.1\ncontent-type: application\/json\n\n###\nGET https:\/\/localhost:44394\/api\/configuration HTTP\/1.1\ncontent-type: application\/json\n\n\n###\nPOST https:\/\/localhost:44394\/api\/configuration\/update HTTP\/1.1\ncontent-type: application\/json\n\n{\n \"$schema\": \"https:\/\/raw.githubusercontent.com\/microsoft\/CollectServiceFabricData\/master\/configurationFiles\/collectsfdata.schema.json\",\n \"AzureClientId\": null,\n \"AzureClientSecret\": null,\n \"AzureResourceGroup\": null,\n \"AzureResourceGroupLocation\": null,\n \"AzureSubscriptionId\": null,\n \"AzureTenantId\": null,\n \"CacheLocation\": null,\n \"ContainerFilter\": null,\n \"DeleteCache\": false,\n \"EndTimeStamp\": \"04\/09\/2021 21:46 -04:00\",\n \"GatherType\": \"trace\",\n \"KustoCluster\": \"https:\/\/ingest-sfus.kusto.windows.net\/dblogs\",\n \"KustoCompressed\": true,\n \"KustoPurge\": null,\n \"KustoRecreateTable\": false,\n \"KustoTable\": \"jagilber_test\",\n \"KustoUseBlobAsSource\": true,\n \"KustoUseIngestMessage\": false,\n \"List\": false,\n \"LogAnalyticsCreate\": false,\n \"LogAnalyticsId\": null,\n \"LogAnalyticsKey\": null,\n \"LogAnalyticsName\": null,\n \"LogAnalyticsPurge\": null,\n \"LogAnalyticsRecreate\": false,\n \"LogAnalyticsWorkspaceName\": null,\n \"LogAnalyticsWorkspaceSku\": \"PerGB2018\",\n \"LogDebug\": 4,\n \"LogFile\": null,\n \"NodeFilter\": null,\n \"NoProgressTimeoutMin\": 10,\n \"ResourceUri\": null,\n \"SasKey\": \"https:\/\/sflogsxxxxxxxxxxxxx.blob.core.windows.net\/?sv=2019-07-07&sig=iifcH%2B6%2FZwrea9w%2BWwp52nYFvyvxl7NVjRxWCyLKKSw%3D&spr=https&st=2021-04-11T01%3A47%3A51Z&se=2021-04-11T09%3A48%3A51Z&srt=sco&ss=bfqt&sp=racupwdl\",\n \"StartTimeStamp\": \"04\/09\/2021 19:46 -04:00\",\n \"Threads\": 12,\n \"Unique\": true,\n \"UriFilter\": null,\n \"UseMemoryStream\": true,\n \"UseTx\": false,\n \"Version\": \"${Process.GetCurrentProcess().MainModule?.FileVersionInfo.FileVersion}\"\n}\n\n###\n@storageAccountName = \n@tableSasToken = \n@storageObjectToQuery = \nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}\n###\n\n###\n# arm query\n@query =\n@apiversion = 2021-01-01\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp query api list\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-operations_list\n@query = providers\/Microsoft.ServiceFabric\/operations\n@apiversion = 2018-02-01\n\nGET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n#GET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp get cluster\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-clusters_get\n\n@query = providers\/Microsoft.ServiceFabric\/clusters\/{{clusterName}}\n@apiversion = 2018-02-01\n@resourceGroupName = sfcluster\n@clusterName = {{resourceGroupName}}\n\n#GET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/resourceGroups\/{{resourceGroupName}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n\n###\n\nPUT http:\/\/localhost:8080\/api\/Votes\/dfff\n###\n\nGET http:\/\/localhost:8080\n###\n\nGET http:\/\/localhost:8080\/api\/Votes?c={{$timestamp}}\n###\n\nPUT http:\/\/localhost:19081\/Voting\/VotingData\/api\/VoteData\/ddddd?PartitionKey=3&PartitionKind=Int64Range\n###\n\nPUT http:\/\/localhost:19964\/Voting\/VotingData\/api\/VoteData\/ddddd?PartitionKey=3&PartitionKind=Int64Range\n","old_contents":"\n##\n# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n##\n\n##\n#\n# cert setup. place in vscode 'setttings.json'\n#\"rest-client.certificates\": {\n# \"%fqdn%: {\n# \"pfx\": \"%path to pfx file%\",\n# \"passphrase\": \"\"\n# }\n# },\n##\n\n##\n# azure aadv1 setup\n#\n# \"rest-client.environmentVariables\": {\n# \"$shared\": {\n# \"subscriptionId\": \"\",\n# \"tenantId\": \"\"\n# }\n# }\n##\n\n# ip info\nhttps:\/\/ipinfo.io\/json\n###\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n###\nGET https:\/\/api.github.com\/repos\/microsoft\/CollectServiceFabricData\/releases\/latest\n\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n@downloads = {{repoQuery.response.body.$.downloads_url}}\nGET {{downloads}}\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n###\n\n###\n# convert google news to text\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/news.google.com \n###\n\n# nuget api test\n@id = https:\/\/azuresearch-usnc.nuget.org\/query\n@QUERY = Microsoft.ServiceFabric.CollectSFData\n@SKIP = 0\n@TAKE = 10\n@PRERELEASE = false\n#@SEMVERLEVEL = {{}}\n#@PACKAGETYPE = {{}}\nGET {{id}}?q={{QUERY}}&skip={{SKIP}}&take={{TAKE}}&prerelease={{PRERELEASE}}\n#&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}\n\n###\nGET https:\/\/www.w3.org\/services\/html2txt?url=https:\/\/devblogs.microsoft.com\/powershell\/arm-dsc-extension-settings\/\n###\n\n\n###\n@cluster = sfcluster\n@location = eastus\n@apiversion = 6.4\n@managementPort = 19080\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/BackupRestore\/BackupPolicies?api-version={{apiversion}}\n\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/Applications\/?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/GetClusterManifest?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/$\/GetClusterHealth?api-version={{apiversion}}\nGET https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/Explorer\n###\n\n###\n@storageAccountName = sflogsxxxxxxxxxxxxxxxxxx\n@tableSasToken = ?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacupx&se=2021-03-25T10:16:34Z&st=2021-03-25T02:16:34Z&spr=https&sig=DEIyaWBlIKe0Nru1ubEbb6u5t787LwoqQ5UVWgxMoJQ%3D\n@storageObjectToQuery = fabriclog8de7b13a4137454a9ad5a356fa0c3159Api\nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}\n\n\n###\nPOST http:\/\/localhost:46564\/api\/configuration\/update HTTP\/1.1\ncontent-type: application\/json\n\n{\n \"$schema\": \"https:\/\/raw.githubusercontent.com\/microsoft\/CollectServiceFabricData\/master\/configurationFiles\/collectsfdata.schema.json\",\n \"AzureClientId\": null,\n \"AzureClientSecret\": null,\n \"AzureResourceGroup\": null,\n \"AzureResourceGroupLocation\": null,\n \"AzureSubscriptionId\": null,\n \"AzureTenantId\": null,\n \"CacheLocation\": null,\n \"ContainerFilter\": null,\n \"DeleteCache\": false,\n \"EndTimeStamp\": \"04\/09\/2021 21:46 -04:00\",\n \"GatherType\": \"trace\",\n \"KustoCluster\": \"https:\/\/ingest-sfus.kusto.windows.net\/dblogs\",\n \"KustoCompressed\": true,\n \"KustoPurge\": null,\n \"KustoRecreateTable\": false,\n \"KustoTable\": \"jagilber_test\",\n \"KustoUseBlobAsSource\": true,\n \"KustoUseIngestMessage\": false,\n \"List\": false,\n \"LogAnalyticsCreate\": false,\n \"LogAnalyticsId\": null,\n \"LogAnalyticsKey\": null,\n \"LogAnalyticsName\": null,\n \"LogAnalyticsPurge\": null,\n \"LogAnalyticsRecreate\": false,\n \"LogAnalyticsWorkspaceName\": null,\n \"LogAnalyticsWorkspaceSku\": \"PerGB2018\",\n \"LogDebug\": 4,\n \"LogFile\": null,\n \"NodeFilter\": null,\n \"NoProgressTimeoutMin\": 10,\n \"ResourceUri\": null,\n \"SasKey\": \"https:\/\/sflogsxxxxxxxxxxxxx.blob.core.windows.net\/?sv=2019-07-07&sig=iifcH%2B6%2FZwrea9w%2BWwp52nYFvyvxl7NVjRxWCyLKKSw%3D&spr=https&st=2021-04-11T01%3A47%3A51Z&se=2021-04-11T09%3A48%3A51Z&srt=sco&ss=bfqt&sp=racupwdl\",\n \"StartTimeStamp\": \"04\/09\/2021 19:46 -04:00\",\n \"Threads\": 12,\n \"Unique\": true,\n \"UriFilter\": null,\n \"UseMemoryStream\": true,\n \"UseTx\": false,\n \"Version\": \"${Process.GetCurrentProcess().MainModule?.FileVersionInfo.FileVersion}\"\n}\n\n###\nGET http:\/\/localhost:46564\/api\/configurationJson HTTP\/1.1\ncontent-type: application\/json\n\n###\nGET http:\/\/localhost:46564\/api\/configurationOptions HTTP\/1.1\ncontent-type: application\/json\n\n###\nGET http:\/\/localhost:46564\/api\/configurationProperties HTTP\/1.1\ncontent-type: application\/json\n@storageAccountName = \n@tableSasToken = \n@storageObjectToQuery = \nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}\n###\n\n###\n# arm query\n@query =\n@apiversion = 2021-01-01\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp query api list\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-operations_list\n@query = providers\/Microsoft.ServiceFabric\/operations\n@apiversion = 2018-02-01\n\nGET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n#GET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp get cluster\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-clusters_get\n\n@query = providers\/Microsoft.ServiceFabric\/clusters\/{{clusterName}}\n@apiversion = 2018-02-01\n@resourceGroupName = sfcluster\n@clusterName = {{resourceGroupName}}\n\n#GET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/resourceGroups\/{{resourceGroupName}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n\n###\n\nPUT http:\/\/localhost:8080\/api\/Votes\/dfff\n###\n\nGET http:\/\/localhost:8080\n###\n\nGET http:\/\/localhost:8080\/api\/Votes?c={{$timestamp}}\n###\n\nPUT http:\/\/localhost:19081\/Voting\/VotingData\/api\/VoteData\/ddddd?PartitionKey=3&PartitionKind=Int64Range\n###\n\nPUT http:\/\/localhost:19964\/Voting\/VotingData\/api\/VoteData\/ddddd?PartitionKey=3&PartitionKind=Int64Range\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"3a8fe9208e11003760551b6899105ca0f22c5581","subject":"Fix fixture","message":"Fix fixture\n","repos":"weppos\/go-dnsimple,aetrion\/dnsimple-go","old_file":"fixtures.http\/deleteContact\/success.http","new_file":"fixtures.http\/deleteContact\/success.http","new_contents":"HTTP\/1.1 204 No Content\r\nServer: nginx\r\nDate: Tue, 19 Jan 2016 21:49:42 GMT\r\nConnection: keep-alive\r\nStatus: 204 No Content\r\nX-RateLimit-Limit: 4000\r\nX-RateLimit-Remaining: 3999\r\nX-RateLimit-Reset: 1453243782\r\nCache-Control: no-cache\r\nX-Request-Id: 10c8528b-569b-4152-a89c-fc9c5f94afe9\r\nX-Runtime: 0.029858\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n","old_contents":"HTTP\/1.1 204 No Content\nServer: nginx\nDate: Tue, 19 Jan 2016 21:49:42 GMT\nConnection: keep-alive\nStatus: 204 No Content\nX-RateLimit-Limit: 4000\nX-RateLimit-Remaining: 3999\nX-RateLimit-Reset: 1453243782\nCache-Control: no-cache\nX-Request-Id: 10c8528b-569b-4152-a89c-fc9c5f94afe9\nX-Runtime: 0.029858\nStrict-Transport-Security: max-age=31536000\n\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"591c76f9ad69a3cf60fbd72cb7cb14e59c8cac2b","subject":"vscode rest extension file","message":"vscode rest extension file\n","repos":"jagilber\/powershellScripts,jagilber\/powershellScripts","old_file":"test.http","new_file":"test.http","new_contents":"# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n# collectsfdata releases\nhttps:\/\/github.com\/microsoft\/collectservicefabricdata\/releases\/latest\n###\n\n# collectsfdata releases\nhttps:\/\/github.com\/microsoft\/collectservicefabricdata\/releases\n###\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n\n\n\n","old_contents":"https:\/\/api.github.com","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"62bee16e3cfe2560de62930fccfa47bd7ad504f7","subject":"Update http request test","message":"Update http request test\n","repos":"absentm\/Demo,absentm\/Demo,absentm\/Demo,absentm\/Demo,absentm\/Demo,absentm\/Demo","old_file":"SpringBoot-demo\/spbt\/.idea\/httpRequests\/http-requests-log.http","new_file":"SpringBoot-demo\/spbt\/.idea\/httpRequests\/http-requests-log.http","new_contents":"GET http:\/\/127.0.0.1:8081\/redis\/test\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/interceptor\/test\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/listener\/publish\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/listener\/request\/name\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/listener\/user\/online\/total\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/listener\/user\/list\nAccept: application\/json\n\n###\n\n\nGET http:\/\/127.0.0.1:8081\/mybits\/user\/list\nAccept: application\/json\n\n###\n\nPOST http:\/\/127.0.0.1:8081\/mybits\/user\/new\nContent-Type: application\/json\n\n###\n\nPUT http:\/\/127.0.0.1:8081\/mybits\/user\/edit\/2\/lisisi\nContent-Type: application\/json\n\n###\n\n\nGET http:\/\/127.0.0.1:8081\/mybits\/user\/zhangsan\nAccept: application\/json\n\n###\n\n\nGET http:\/\/127.0.0.1:8081\/mybits\/user\/zhangsan1\nAccept: application\/json\n\n###\n\n\nGET http:\/\/127.0.0.1:8081\/aop\/test\/AOP\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/aop\/test?name=AOP\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/exception\/self\nAccept: application\/json\n\n###\n\n","old_contents":"\nGET http:\/\/127.0.0.1:8081\/redis\/test\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/interceptor\/test\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/listener\/publish\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/listener\/request\/name\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/listener\/user\/online\/total\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/listener\/user\/list\nAccept: application\/json\n\n###\n\nPUT http:\/\/127.0.0.1:8081\/mybits\/user\/edit\/2\/lisisi\nContent-Type: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/mybits\/user\/list\nAccept: application\/json\n\n###\n\nPOST http:\/\/127.0.0.1:8081\/mybits\/user\/new\nContent-Type: application\/json\n\n###\n\nPUT http:\/\/127.0.0.1:8081\/mybits\/user\/edit\/2\/lisisi\nContent-Type: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/mybits\/user\/list\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/mybits\/user\/zhangsan\nAccept: application\/json\n\n###\n\nPOST http:\/\/127.0.0.1:8081\/mybits\/user\/new\nContent-Type: application\/json\n\n###\n\nPOST http:\/\/127.0.0.1:8081\/mybits\/user\/new\nContent-Type: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/mybits\/user\/zhangsan\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/mybits\/user\/zhangsan1\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/mybits\/user\/zhangsan\nAccept: application\/json\n\n###\n\n\nGET http:\/\/127.0.0.1:8081\/mybits\/user\/list\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/aop\/test\/AOP\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/aop\/test?name=AOP\nAccept: application\/json\n\n###\n\nGET http:\/\/127.0.0.1:8081\/exception\/self\nAccept: application\/json\n\n###\n\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"420dc0232f690e0fd52e92ff6f1a15f87fdb6990","subject":"Cleaned up apache templates.","message":"Cleaned up apache templates.\n","repos":"forgeservicelab\/ansible-roles.drupal,forgeservicelab\/ansible-roles.drupal","old_file":"templates\/apache.j2.http","new_file":"templates\/apache.j2.http","new_contents":"","old_contents":"<VirtualHost *:80>\n\tServerAdmin webmaster@localhost\n\n\tDocumentRoot \/var\/www\n\tAccessFileName .htaccess\n\n\t<Directory \/var\/www\/>\n\t\tOptions Indexes FollowSymLinks\n\t\tAllowOverride All\n\t\tOrder allow,deny\n\t\tallow from all\n\t<\/Directory>\n\n\tScriptAlias \/cgi-bin\/ \/usr\/lib\/cgi-bin\/\n\t<Directory \"\/usr\/lib\/cgi-bin\">\n\t\tAllowOverride None\n\t\tOptions +ExecCGI -MultiViews +SymLinksIfOwnerMatch\n\t\tOrder allow,deny\n\t\tAllow from all\n\t<\/Directory>\n\n\tErrorLog ${APACHE_LOG_DIR}\/error.log\n\n\t# Possible values include: debug, info, notice, warn, error, crit,\n\t# alert, emerg.\n\tLogLevel warn\n\n\tCustomLog ${APACHE_LOG_DIR}\/access.log combined\n<\/VirtualHost>\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"cc67c44ef14fc98f734738abb23686a0026b70ae","subject":"Query fix","message":"Query fix\n","repos":"gabesoft\/kapi","old_file":"queries\/xandar-feeds.http","new_file":"queries\/xandar-feeds.http","new_contents":"# -*- restclient -*-\n#\n# Queries against the \/xandar\/feeds endpoints\n#\n\n# variables\n:date := (shell-command-to-string \"echo -n (date +%Y-%m-%d-%M-%s)\")\n:host = 127.0.0.1:8001\n:path = xandar\/feeds\n:json = application\/json\n\n#\n# Get all feeds\n#\nGET http:\/\/:host\/:path?per_page=3\n\n#\n# Get feeds sorted by last post date\n#\nGET http:\/\/:host\/:path?sort=-lastPostDate&include=lastPostDate,title\n\n#\n# Get all feeds (postCount)\n#\nGET http:\/\/:host\/:path?per_page=50&include=title,postCount,uri\n\n#\n# Get all feeds - sort & partial response\n#\nGET http:\/\/:host\/:path?sort=title&include=title,uri&page=4&per_page=10\n\n#\n# Get feeds filtered by status\n#\nGET http:\/\/:host\/:path?where=(lastReadStatus.readStatus eq \"success\")&include=title,lastReadStatus,uri\n\n#\n# Get feeds created afte a date\n#\nGET http:\/\/:host\/:path?where=(createdAt ge 2017-01-08T07:47:45.928Z)\n\n#\n# Get feeds without an author\n#\nGET http:\/\/:host\/:path?where=(author eq null)&include=title,author\n\n#\n# Get feeds with an author\n#\nGET http:\/\/:host\/:path?where=(author ~eq null)&include=title,author\n\n#\n# Get all feeds - pagination\n#\nGET http:\/\/:host\/:path?page=4&per_page=5\n\n#\n# Get a single feed\n#\nGET http:\/\/:host\/:path\/56d7dedfc788cb1d6eb9216c\n\n#\n# Get a single feed using ETag\n#\nGET http:\/\/:host\/:path\/5869ec3e59841810dc000009\nIf-None-Match: ef19b2e0ce2baa83fa90abfa82a5141d4f18842d\n\n#\n# Delete a non-existent feed\n#\nDELETE http:\/\/:host\/:path\/non-existent\n\n#\n# Delete an existent feed\n#\nDELETE http:\/\/:host\/:path\/5a75383b598418d14300001c\n\n#\n# Create a single feed\n#\nPOST http:\/\/:host\/:path\nContent-Type: :json\n{\n \"author\": null,\n \"data\": {\n \"etag\": \"\\\"6b188e14abb0321740881b7893cbc0ab\\\"\",\n \"last-modified\": \"Fri, 13 Jan 2017 02:09:05 GMT\"\n },\n \"date\": \"2017-01-13T02:09:05.000Z\",\n \"description\": \"Personal blog for Christie Koehler. \\\"It's a poor sort of memory that only works backward.\\\"\",\n \"failedAttempts\": 0,\n \"favicon\": null,\n \"format\": \"rss-2.0\",\n \"generator\": \"https:\/\/wordpress.org\/?v=4.7\",\n \"guid\": \"https:\/\/some-fictional-blog3.com\",\n \"image\": {\n \"title\": \"Subfictional Studios\",\n \"url\": \"https:\/\/some-fictional-blog3.com\/files\/2016\/07\/cropped-sf-logo-2016-sf-sq-512px-32x32.jpg\"\n },\n \"language\": \"en-US\",\n \"lastPostDate\": \"2017-01-13T02:09:05.000Z\",\n \"lastReadDate\": \"2017-01-14T20:01:06.227Z\",\n \"lastReadStatus\": {\n \"readStatus\": \"failure\",\n \"readStatusError\": \"StatusCodeException (Status {statusCode = 304, statusMessage = \\\"Not Modified\\\"}) [(\\\"Date\\\",\\\"Sat, 14 Jan 2017 20:01:07 GMT\\\"),(\\\"Server\\\",\\\"Apache\/2.4.7 (Ubuntu)\\\"),(\\\"ETag\\\",\\\"\\\\\\\"6b188e14abb0321740881b7893cbc0ab\\\\\\\"\\\"),(\\\"Expires\\\",\\\"Thu, 19 Nov 1981 08:52:00 GMT\\\"),(\\\"Cache-Control\\\",\\\"no-store, no-cache, must-revalidate, post-check=0, pre-check=0\\\"),(\\\"Vary\\\",\\\"User-Agent\\\"),(\\\"Set-Cookie\\\",\\\"PHPSESSID=cfiki8nufmmqr5qb3sifrnhha6; path=\/\\\"),(\\\"X-Response-Body-Start\\\",\\\"\\\"),(\\\"X-Request-URL\\\",\\\"GET https:\/\/subfictional.com:443\/feed\/\\\")] (CJ {expose = [Cookie {cookie_name = \\\"PHPSESSID\\\", cookie_value = \\\"cfiki8nufmmqr5qb3sifrnhha6\\\", cookie_expiry_time = 3016-05-17 00:00:00 UTC, cookie_domain = \\\"subfictional.com\\\", cookie_path = \\\"\/\\\", cookie_creation_time = 2017-01-14 20:01:07.288073354 UTC, cookie_last_access_time = 2017-01-14 20:01:07.288073354 UTC, cookie_persistent = False, cookie_host_only = True, cookie_secure_only = False, cookie_http_only = False}]})\"\n },\n \"link\": \"https:\/\/some-fictional-blog3.com\",\n \"postCount\": 17,\n \"title\": \"Subfictional Studios\",\n \"uri\": \"https:\/\/some-fictional-blog3.com\/feed\/\"\n}\n\n#\n# Create multiple feeds\n#\nPOST http:\/\/:host\/:path\nContent-Type: :json\n[\n {\n \"author\": null,\n \"data\": {\n \"etag\": null,\n \"last-modified\": \"Mon, 19 Sep 2016 23:30:42 GMT\"\n },\n \"date\": \"2016-09-19T23:30:42.000Z\",\n \"description\": \"Haskell and assembly tricks\",\n \"failedAttempts\": 0,\n \"favicon\": null,\n \"format\": \"rss-2.0\",\n \"generator\": \"http:\/\/wordpress.com\/\",\n \"guid\": \"https:\/\/hbtvl.wordpress.com\",\n \"image\": {\n \"title\": \"hbtvl\",\n \"url\": \"https:\/\/s2.wp.com\/i\/buttonw-com.png\"\n },\n \"language\": \"en\",\n \"lastPostDate\": \"2015-12-14T21:17:23.000Z\",\n \"lastReadDate\": \"2017-01-15T01:48:05.200Z\",\n \"lastReadStatus\": {\n \"readStatus\": \"success\",\n \"readStatusError\": null\n },\n \"link\": \"https:\/\/hbtvl.wordpress.com\",\n \"postCount\": 6,\n \"title\": \"hbtvl\",\n \"uri\": \"https:\/\/hbtvl.wordpress.com\/feed\/\"\n },\n {\n \"author\": \"Dennis Gosnell\",\n \"data\": {\n \"etag\": null,\n \"last-modified\": null\n },\n \"date\": \"2016-11-09T00:00:00.000Z\",\n \"description\": null,\n \"failedAttempts\": 0,\n \"favicon\": null,\n \"format\": \"atom-1.0\",\n \"generator\": null,\n \"guid\": \"https:\/\/functor.tokyo\/blog\",\n \"image\": {\n \"title\": \"\",\n \"url\": \"https:\/\/functor.tokyo\/static\/img\/functor.tokyo.logo.png?etag=-HTQgqMp\"\n },\n \"language\": null,\n \"lastPostDate\": \"2016-11-09T00:00:00.000Z\",\n \"lastReadDate\": \"2017-01-15T01:48:05.595Z\",\n \"lastReadStatus\": {\n \"readStatus\": \"success\",\n \"readStatusError\": null\n },\n \"link\": \"https:\/\/functor.tokyo\/blog\",\n \"postCount\": 16,\n \"title\": \"functor.tokyo blog feed\",\n \"uri\": \"https:\/\/functor.tokyo\/blog\/feed\"\n }\n]\n\n#\n# Replace a single feed\n#\nPUT http:\/\/:host\/:path\/587a810d598418739b000001\nContent-Type: :json\n{\n \"email\": \"replaced3@aol.com\",\n \"admin\": true\n}\n\n#\n# Modify a single feed\n#\nPATCH http:\/\/:host\/:path\/587ad83859841886c7000003\nContent-Type: :json\n{\n \"email\": \"updated3@aol.com\"\n}\n\n#\n# Modify a single feed 2\n#\nPATCH http:\/\/:host\/:path\/56d7dedfc788cb1d6eb9216c\nContent-Type: :json\n{\n \"image\": null\n}","old_contents":"# -*- restclient -*-\n#\n# Queries against the \/xandar\/feeds endpoints\n#\n\n# variables\n:date := (shell-command-to-string \"echo -n (date +%Y-%m-%d-%M-%s)\")\n:host = 127.0.0.1:8001\n:path = lono\/feeds\n:json = application\/json\n\n#\n# Get all feeds\n#\nGET http:\/\/:host\/:path?per_page=3\n\n#\n# Get feeds sorted by last post date\n#\nGET http:\/\/:host\/:path?sort=-lastPostDate&include=lastPostDate,title\n\n#\n# Get all feeds (postCount)\n#\nGET http:\/\/:host\/:path?per_page=50&include=title,postCount,uri\n\n#\n# Get all feeds - sort & partial response\n#\nGET http:\/\/:host\/:path?sort=title&include=title,uri&page=4&per_page=10\n\n#\n# Get feeds filtered by status\n#\nGET http:\/\/:host\/:path?where=(lastReadStatus.readStatus eq \"success\")&include=title,lastReadStatus,uri\n\n#\n# Get feeds created afte a date\n#\nGET http:\/\/:host\/:path?where=(createdAt ge 2017-01-08T07:47:45.928Z)\n\n#\n# Get feeds without an author\n#\nGET http:\/\/:host\/:path?where=(author eq null)&include=title,author\n\n#\n# Get feeds with an author\n#\nGET http:\/\/:host\/:path?where=(author ~eq null)&include=title,author\n\n#\n# Get all feeds - pagination\n#\nGET http:\/\/:host\/:path?page=4&per_page=5\n\n#\n# Get a single feed\n#\nGET http:\/\/:host\/:path\/56d7dedfc788cb1d6eb9216c\n\n#\n# Get a single feed using ETag\n#\nGET http:\/\/:host\/:path\/5869ec3e59841810dc000009\nIf-None-Match: ef19b2e0ce2baa83fa90abfa82a5141d4f18842d\n\n#\n# Delete a non-existent feed\n#\nDELETE http:\/\/:host\/:path\/non-existent\n\n#\n# Delete an existent feed\n#\nDELETE http:\/\/:host\/:path\/5a75383b598418d14300001c \n\n#\n# Create a single feed\n#\nPOST http:\/\/:host\/:path\nContent-Type: :json\n{\n \"author\": null,\n \"data\": {\n \"etag\": \"\\\"6b188e14abb0321740881b7893cbc0ab\\\"\",\n \"last-modified\": \"Fri, 13 Jan 2017 02:09:05 GMT\"\n },\n \"date\": \"2017-01-13T02:09:05.000Z\",\n \"description\": \"Personal blog for Christie Koehler. \\\"It's a poor sort of memory that only works backward.\\\"\",\n \"failedAttempts\": 0,\n \"favicon\": null,\n \"format\": \"rss-2.0\",\n \"generator\": \"https:\/\/wordpress.org\/?v=4.7\",\n \"guid\": \"https:\/\/some-fictional-blog3.com\",\n \"image\": {\n \"title\": \"Subfictional Studios\",\n \"url\": \"https:\/\/some-fictional-blog3.com\/files\/2016\/07\/cropped-sf-logo-2016-sf-sq-512px-32x32.jpg\"\n },\n \"language\": \"en-US\",\n \"lastPostDate\": \"2017-01-13T02:09:05.000Z\",\n \"lastReadDate\": \"2017-01-14T20:01:06.227Z\",\n \"lastReadStatus\": {\n \"readStatus\": \"failure\",\n \"readStatusError\": \"StatusCodeException (Status {statusCode = 304, statusMessage = \\\"Not Modified\\\"}) [(\\\"Date\\\",\\\"Sat, 14 Jan 2017 20:01:07 GMT\\\"),(\\\"Server\\\",\\\"Apache\/2.4.7 (Ubuntu)\\\"),(\\\"ETag\\\",\\\"\\\\\\\"6b188e14abb0321740881b7893cbc0ab\\\\\\\"\\\"),(\\\"Expires\\\",\\\"Thu, 19 Nov 1981 08:52:00 GMT\\\"),(\\\"Cache-Control\\\",\\\"no-store, no-cache, must-revalidate, post-check=0, pre-check=0\\\"),(\\\"Vary\\\",\\\"User-Agent\\\"),(\\\"Set-Cookie\\\",\\\"PHPSESSID=cfiki8nufmmqr5qb3sifrnhha6; path=\/\\\"),(\\\"X-Response-Body-Start\\\",\\\"\\\"),(\\\"X-Request-URL\\\",\\\"GET https:\/\/subfictional.com:443\/feed\/\\\")] (CJ {expose = [Cookie {cookie_name = \\\"PHPSESSID\\\", cookie_value = \\\"cfiki8nufmmqr5qb3sifrnhha6\\\", cookie_expiry_time = 3016-05-17 00:00:00 UTC, cookie_domain = \\\"subfictional.com\\\", cookie_path = \\\"\/\\\", cookie_creation_time = 2017-01-14 20:01:07.288073354 UTC, cookie_last_access_time = 2017-01-14 20:01:07.288073354 UTC, cookie_persistent = False, cookie_host_only = True, cookie_secure_only = False, cookie_http_only = False}]})\"\n },\n \"link\": \"https:\/\/some-fictional-blog3.com\",\n \"postCount\": 17,\n \"title\": \"Subfictional Studios\",\n \"uri\": \"https:\/\/some-fictional-blog3.com\/feed\/\"\n}\n\n#\n# Create multiple feeds\n#\nPOST http:\/\/:host\/:path\nContent-Type: :json\n[\n {\n \"author\": null,\n \"data\": {\n \"etag\": null,\n \"last-modified\": \"Mon, 19 Sep 2016 23:30:42 GMT\"\n },\n \"date\": \"2016-09-19T23:30:42.000Z\",\n \"description\": \"Haskell and assembly tricks\",\n \"failedAttempts\": 0,\n \"favicon\": null,\n \"format\": \"rss-2.0\",\n \"generator\": \"http:\/\/wordpress.com\/\",\n \"guid\": \"https:\/\/hbtvl.wordpress.com\",\n \"image\": {\n \"title\": \"hbtvl\",\n \"url\": \"https:\/\/s2.wp.com\/i\/buttonw-com.png\"\n },\n \"language\": \"en\",\n \"lastPostDate\": \"2015-12-14T21:17:23.000Z\",\n \"lastReadDate\": \"2017-01-15T01:48:05.200Z\",\n \"lastReadStatus\": {\n \"readStatus\": \"success\",\n \"readStatusError\": null\n },\n \"link\": \"https:\/\/hbtvl.wordpress.com\",\n \"postCount\": 6,\n \"title\": \"hbtvl\",\n \"uri\": \"https:\/\/hbtvl.wordpress.com\/feed\/\"\n },\n {\n \"author\": \"Dennis Gosnell\",\n \"data\": {\n \"etag\": null,\n \"last-modified\": null\n },\n \"date\": \"2016-11-09T00:00:00.000Z\",\n \"description\": null,\n \"failedAttempts\": 0,\n \"favicon\": null,\n \"format\": \"atom-1.0\",\n \"generator\": null,\n \"guid\": \"https:\/\/functor.tokyo\/blog\",\n \"image\": {\n \"title\": \"\",\n \"url\": \"https:\/\/functor.tokyo\/static\/img\/functor.tokyo.logo.png?etag=-HTQgqMp\"\n },\n \"language\": null,\n \"lastPostDate\": \"2016-11-09T00:00:00.000Z\",\n \"lastReadDate\": \"2017-01-15T01:48:05.595Z\",\n \"lastReadStatus\": {\n \"readStatus\": \"success\",\n \"readStatusError\": null\n },\n \"link\": \"https:\/\/functor.tokyo\/blog\",\n \"postCount\": 16,\n \"title\": \"functor.tokyo blog feed\",\n \"uri\": \"https:\/\/functor.tokyo\/blog\/feed\"\n }\n]\n\n#\n# Replace a single feed\n#\nPUT http:\/\/:host\/:path\/587a810d598418739b000001\nContent-Type: :json\n{\n \"email\": \"replaced3@aol.com\",\n \"admin\": true\n}\n\n#\n# Modify a single feed\n#\nPATCH http:\/\/:host\/:path\/587ad83859841886c7000003\nContent-Type: :json\n{\n \"email\": \"updated3@aol.com\"\n}\n\n#\n# Modify a single feed 2\n#\nPATCH http:\/\/:host\/:path\/56d7dedfc788cb1d6eb9216c\nContent-Type: :json\n{\n \"image\": null\n}","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"HTTP"} {"commit":"808998d9a7e17d8c3c5f19d9d2efb0fc069bedf3","subject":"Update emacs restclient examples.","message":"Update emacs restclient examples.\n","repos":"heutagogy\/heutagogy-backend,heutagogy\/heutagogy-backend","old_file":"rest.http","new_file":"rest.http","new_contents":"# -*- restclient -*-\n#\n# This file contains example requests.\n# It can be used directly with Emacs restclient plugin.\n# See https:\/\/github.com\/pashky\/restclient.el\n#\n\n:username = \"user2\"\n:password = \"pass2\"\n\n:host = 127.0.0.1:5000\n:url = http:\/\/:host\n\n# Get auth token\nPOST :url\/login\nContent-Type: application\/json\n\n{\n \"username\": :username,\n \"password\": :password\n}\n\n# Put token \u2193\u2193\u2193 (use request above)\n:token = ???\n\n# Get all saved bookmarks (unauthorized)\nGET :url\/api\/v1\/bookmarks\n\n# Get all saved bookmarks (authorized)\nGET :url\/api\/v1\/bookmarks\nAuthorization: JWT :token\n\n# Get all saved bookmarks (bad token)\nGET :url\/api\/v1\/bookmarks\nAuthorization: JWT 42\n\n# Save bookmark\nPOST :url\/api\/v1\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy\/heutagogy-backend\",\n \"timestamp\": \"2016-11-19 01:31:15\"\n}\n\n# Save bookmark (no timestamp)\n# This will use current UTC time\nPOST :url\/api\/v1\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy-backend\"\n}\n\n# Save bookmark (no title)\n# This will use url as a title\nPOST :url\/api\/v1\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"https:\/\/github.com\/heutagogy\"\n}\n\n","old_contents":"# -*- restclient -*-\n#\n# This file contains example requests.\n# It can be used directly with Emacs restclient plugin.\n# See https:\/\/github.com\/pashky\/restclient.el\n#\n\n:host = 127.0.0.1:5000\n:auth = myuser:mypassword\n\n:url = http:\/\/:auth@:host\n:unauthorized = http:\/\/:host\n\n# Get all saved bookmarks (unauthorized)\nGET :unauthorized\/api\/v1\/bookmarks\n\n# Get all saved bookmarks (authorized)\nGET :url\/api\/v1\/bookmarks\n\n# Get all saved bookmarks (bad credentials)\nGET http:\/\/badname:badpass@:host\/api\/v1\/bookmarks\n\n# Save bookmark\nPOST :url\/api\/v1\/bookmarks\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy\/heutagogy-backend\",\n \"timestamp\": \"2016-11-19 01:31:15\"\n}\n\n# Save bookmark (no timestamp)\n# This will use current time\nPOST :url\/api\/v1\/bookmarks\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy-backend\"\n}\n\n# Save bookmark (no title)\n# This will use url as a title\nPOST :url\/api\/v1\/bookmarks\nContent-Type: application\/json\n\n{\n \"url\": \"https:\/\/github.com\/heutagogy\"\n}","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"8fb84d9f6f7a6c800810d04ce9bed11ba103a9f8","subject":"template corrections","message":"template corrections\n","repos":"designermonkey\/mkvhost-ubuntu","old_file":"template.http","new_file":"template.http","new_contents":"<VirtualHost *:80>\n\tServerName VHOSTNAME\n\tDocumentRoot SITES\/VHOSTNAME\/htdocs\n\n\t<Directory SITES\/VHOSTNAME\/htdocs>\n\t\tOptions Indexes FollowSymLinks MultiViews Includes\n\t\tAllowOverride All\n\t\tOrder allow,deny\n\t\tallow from all\n\t<\/Directory>\n\n\tErrorLog SITES\/VHOSTNAME\/logs\/VHOSTNAME-error.log\n\n\t# Possible values include: debug, info, notice, warn, error, crit,\n\t# alert, emerg.\n\tLogLevel warn\n\n\tCustomLog SITES\/VHOSTNAME\/logs\/VHOSTNAME-access.log combined\n\n<\/VirtualHost>\n\n","old_contents":"<VirtualHost *:80>\n\tServerName VHOSTNAME\n\tDocumentRoot SITES\/VHOSTNAME\/htdocs\n\n\t<Directory SITES\/VHOSTNAME\/htdocs>\n\t\tOptions Indexes FollowSymLinks MultiViews Includes\n\t\tAllowOverride All\n\t\tOrder allow,deny\n\t\tallow from all\n\t<\/Directory>\n\n\tErrorLog SITES\/logs\/VHOSTNAME-error.log\n\n\t# Possible values include: debug, info, notice, warn, error, crit,\n\t# alert, emerg.\n\tLogLevel warn\n\n\tCustomLog SITES\/logs\/VHOSTNAME-access.log combined\n\n<\/VirtualHost>\n\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"29f2f347c20e582e26b3618efd5d1d32dd613402","subject":"show patch information","message":"show patch information\n","repos":"ivanromakh\/openprocurement.tender.limited,VolVoz\/openprocurement.tender.limited,openprocurement\/openprocurement.tender.limited","old_file":"docs\/source\/tutorial\/tender-award-approve.http","new_file":"docs\/source\/tutorial\/tender-award-approve.http","new_contents":"$ http -j PATCH https:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders\/2d06f1999dcf436fb61ccd0168702459\/awards\/d373338bc3324f14b8b3d4af68922773?acc_token=1234558d25d6421588b2597504b747ed data:='{\"status\":\"active\"}'\nPOST \/api\/0\/tenders\/2d06f1999dcf436fb61ccd0168702459\/awards\/d373338bc3324f14b8b3d4af68922773 HTTP\/1.1\r\nContent-Type: application\/json; charset=utf-8\r\n\r\n{\n \"data\": {\n \"complaintPeriod\": {\n \"endDate\": \"2016-01-15T18:16:55.895242+02:00\", \n \"startDate\": \"2016-01-14T18:07:00.631425+02:00\"\n }, \n \"date\": \"2016-01-14T18:07:00.628073+02:00\", \n \"id\": \"d373338bc3324f14b8b3d4af68922773\", \n \"status\": \"active\", \n \"suppliers\": [\n {\n \"address\": {\n \"countryName\": \"\u0423\u043a\u0440\u0430\u0457\u043d\u0430\", \n \"locality\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"postalCode\": \"21100\", \n \"region\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"streetAddress\": \"\u0432\u0443\u043b. \u041e\u0441\u0442\u0440\u043e\u0432\u0441\u044c\u043a\u043e\u0433\u043e, 33\"\n }, \n \"contactPoint\": {\n \"email\": \"soleksuk@gmail.com\", \n \"name\": \"\u0421\u0435\u0440\u0433\u0456\u0439 \u041e\u043b\u0435\u043a\u0441\u044e\u043a\", \n \"telephone\": \"+380 (432) 21-69-30\"\n }, \n \"identifier\": {\n \"id\": \"13313462\", \n \"legalName\": \"\u0414\u0435\u0440\u0436\u0430\u0432\u043d\u0435 \u043a\u043e\u043c\u0443\u043d\u0430\u043b\u044c\u043d\u0435 \u043f\u0456\u0434\u043f\u0440\u0438\u0454\u043c\u0441\u0442\u0432\u043e \u0433\u0440\u043e\u043c\u0430\u0434\u0441\u044c\u043a\u043e\u0433\u043e \u0445\u0430\u0440\u0447\u0443\u0432\u0430\u043d\u043d\u044f \u00ab\u0428\u043a\u043e\u043b\u044f\u0440\u00bb\", \n \"scheme\": \"UA-EDR\", \n \"uri\": \"http:\/\/sch10.edu.vn.ua\/\"\n }, \n \"name\": \"\u0414\u041a\u041f \u00ab\u0428\u043a\u043e\u043b\u044f\u0440\u00bb\"\n }\n ], \n \"value\": {\n \"amount\": 475000,\n \"currency\": \"UAH\", \n \"valueAddedTaxIncluded\": true\n }\n }\n}\n\n","old_contents":"$ http -j PATCH https:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders\/2d06f1999dcf436fb61ccd0168702459\/awards\/d373338bc3324f14b8b3d4af68922773?acc_token=1234558d25d6421588b2597504b747ed data:=@.\/award.json\nPOST \/api\/0\/tenders\/2d06f1999dcf436fb61ccd0168702459\/awards\/d373338bc3324f14b8b3d4af68922773 HTTP\/1.1\r\nContent-Type: application\/json; charset=utf-8\r\n\r\n{\n \"data\": {\n \"complaintPeriod\": {\n \"endDate\": \"2016-01-15T18:16:55.895242+02:00\", \n \"startDate\": \"2016-01-14T18:07:00.631425+02:00\"\n }, \n \"date\": \"2016-01-14T18:07:00.628073+02:00\", \n \"id\": \"d373338bc3324f14b8b3d4af68922773\", \n \"status\": \"active\", \n \"suppliers\": [\n {\n \"address\": {\n \"countryName\": \"\u0423\u043a\u0440\u0430\u0457\u043d\u0430\", \n \"locality\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"postalCode\": \"21100\", \n \"region\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"streetAddress\": \"\u0432\u0443\u043b. \u041e\u0441\u0442\u0440\u043e\u0432\u0441\u044c\u043a\u043e\u0433\u043e, 33\"\n }, \n \"contactPoint\": {\n \"email\": \"soleksuk@gmail.com\", \n \"name\": \"\u0421\u0435\u0440\u0433\u0456\u0439 \u041e\u043b\u0435\u043a\u0441\u044e\u043a\", \n \"telephone\": \"+380 (432) 21-69-30\"\n }, \n \"identifier\": {\n \"id\": \"13313462\", \n \"legalName\": \"\u0414\u0435\u0440\u0436\u0430\u0432\u043d\u0435 \u043a\u043e\u043c\u0443\u043d\u0430\u043b\u044c\u043d\u0435 \u043f\u0456\u0434\u043f\u0440\u0438\u0454\u043c\u0441\u0442\u0432\u043e \u0433\u0440\u043e\u043c\u0430\u0434\u0441\u044c\u043a\u043e\u0433\u043e \u0445\u0430\u0440\u0447\u0443\u0432\u0430\u043d\u043d\u044f \u00ab\u0428\u043a\u043e\u043b\u044f\u0440\u00bb\", \n \"scheme\": \"UA-EDR\", \n \"uri\": \"http:\/\/sch10.edu.vn.ua\/\"\n }, \n \"name\": \"\u0414\u041a\u041f \u00ab\u0428\u043a\u043e\u043b\u044f\u0440\u00bb\"\n }\n ], \n \"value\": {\n \"amount\": 475000,\n \"currency\": \"UAH\", \n \"valueAddedTaxIncluded\": true\n }\n }\n}\n\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"85075989ad5fb32ff94c24e397f4e8540d692905","subject":"Updating auth example","message":"Updating auth example\n","repos":"selurvedu\/openprocurement.api,openprocurement\/openprocurement.api,Leits\/openprocurement.api","old_file":"docs\/source\/tutorial\/create-tender-procuringEntity.http","new_file":"docs\/source\/tutorial\/create-tender-procuringEntity.http","new_contents":"$ http --auth demo: -j POST https:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders data:=@.\/school-tender.json\nPOST \/api\/0\/tenders HTTP\/1.1\r\nAuthorization: Basic ZGVtbzo=\r\nContent-Type: application\/json; charset=utf-8\r\n\r\n{\n \"data\": {\n \"enquiryPeriod\": {\n \"endDate\": \"2015-12-01\"\n }, \n \"items\": [\n {\n \"description\": \"\u041f\u043e\u0441\u043b\u0443\u0433\u0438 \u0448\u043a\u0456\u043b\u044c\u043d\u0438\u0445 \u0457\u0434\u0430\u043b\u0435\u043d\u044c\"\n }\n ], \n \"minimalStep\": {\n \"amount\": 35000, \n \"currency\": \"UAH\", \n \"valueAddedTaxIncluded\": true\n }, \n \"procuringEntity\": {\n \"address\": {\n \"countryName\": \"\u0423\u043a\u0440\u0430\u0457\u043d\u0430\", \n \"locality\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"postalCode\": \"21027\", \n \"region\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"streetAddress\": \"\u0432\u0443\u043b. \u0421\u0442\u0430\u0445\u0443\u0440\u0441\u044c\u043a\u043e\u0433\u043e. 22\"\n }, \n \"contactPoint\": {\n \"name\": \"\u041a\u0443\u0446\u0430 \u0421\u0432\u0456\u0442\u043b\u0430\u043d\u0430 \u0412\u0430\u043b\u0435\u043d\u0442\u0438\u043d\u0456\u0432\u043d\u0430\", \n \"telephone\": \"+380 (432) 46-53-02\", \n \"url\": \"http:\/\/sch10.edu.vn.ua\/\"\n }, \n \"identifier\": {\n \"id\": \"21725150\", \n \"legalName\": \"\u0417\u0430\u043a\u043b\u0430\u0434 \\\"\u0417\u0430\u0433\u0430\u043b\u044c\u043d\u043e\u043e\u0441\u0432\u0456\u0442\u043d\u044f \u0448\u043a\u043e\u043b\u0430 \u0406-\u0406\u0406\u0406 \u0441\u0442\u0443\u043f\u0435\u043d\u0456\u0432 \u2116 10 \u0412\u0456\u043d\u043d\u0438\u0446\u044c\u043a\u043e\u0457 \u043c\u0456\u0441\u044c\u043a\u043e\u0457 \u0440\u0430\u0434\u0438\\\"\", \n \"scheme\": \"UA-EDR\"\n }, \n \"name\": \"\u0417\u041e\u0421\u0428 #10 \u043c.\u0412\u0456\u043d\u043d\u0438\u0446\u0456\"\n }, \n \"tenderPeriod\": {\n \"endDate\": \"2015-12-10\"\n }, \n \"value\": {\n \"amount\": 500000, \n \"currency\": \"UAH\", \n \"valueAddedTaxIncluded\": true\n }\n }\n}\n\nHTTP\/1.1 201 Created\r\nContent-Type: application\/json; charset=UTF-8\r\nLocation: http:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders\/b62095b27d5a4d9c9529f6b40a4385ec\r\n\r\n{\n \"access\": {\n \"token\": \"b7a39e6379a14d7596388405052093a2\"\n }, \n \"data\": {\n \"dateModified\": \"2014-12-19T13:00:42.412390+02:00\", \n \"enquiryPeriod\": {\n \"endDate\": \"2015-12-01T00:00:00+02:00\", \n \"startDate\": \"2014-12-19T13:00:42.412390+02:00\"\n }, \n \"id\": \"b62095b27d5a4d9c9529f6b40a4385ec\", \n \"items\": [\n {\n \"description\": \"\u041f\u043e\u0441\u043b\u0443\u0433\u0438 \u0448\u043a\u0456\u043b\u044c\u043d\u0438\u0445 \u0457\u0434\u0430\u043b\u0435\u043d\u044c\"\n }\n ], \n \"minimalStep\": {\n \"amount\": 35000.0, \n \"currency\": \"UAH\", \n \"valueAddedTaxIncluded\": true\n }, \n \"owner\": \"demo\", \n \"procuringEntity\": {\n \"address\": {\n \"countryName\": \"\u0423\u043a\u0440\u0430\u0457\u043d\u0430\", \n \"locality\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"postalCode\": \"21027\", \n \"region\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"streetAddress\": \"\u0432\u0443\u043b. \u0421\u0442\u0430\u0445\u0443\u0440\u0441\u044c\u043a\u043e\u0433\u043e. 22\"\n }, \n \"contactPoint\": {\n \"name\": \"\u041a\u0443\u0446\u0430 \u0421\u0432\u0456\u0442\u043b\u0430\u043d\u0430 \u0412\u0430\u043b\u0435\u043d\u0442\u0438\u043d\u0456\u0432\u043d\u0430\", \n \"telephone\": \"+380 (432) 46-53-02\", \n \"url\": \"http:\/\/sch10.edu.vn.ua\/\"\n }, \n \"identifier\": {\n \"id\": \"21725150\", \n \"legalName\": \"\u0417\u0430\u043a\u043b\u0430\u0434 \\\"\u0417\u0430\u0433\u0430\u043b\u044c\u043d\u043e\u043e\u0441\u0432\u0456\u0442\u043d\u044f \u0448\u043a\u043e\u043b\u0430 \u0406-\u0406\u0406\u0406 \u0441\u0442\u0443\u043f\u0435\u043d\u0456\u0432 \u2116 10 \u0412\u0456\u043d\u043d\u0438\u0446\u044c\u043a\u043e\u0457 \u043c\u0456\u0441\u044c\u043a\u043e\u0457 \u0440\u0430\u0434\u0438\\\"\", \n \"scheme\": \"UA-EDR\"\n }, \n \"name\": \"\u0417\u041e\u0421\u0428 #10 \u043c.\u0412\u0456\u043d\u043d\u0438\u0446\u0456\"\n }, \n \"status\": \"active.enquiries\", \n \"tenderID\": \"UA-2014-12-19-000014\", \n \"tenderPeriod\": {\n \"endDate\": \"2015-12-10T00:00:00+02:00\", \n \"startDate\": \"2015-12-01T00:00:00+02:00\"\n }, \n \"value\": {\n \"amount\": 500000.0, \n \"currency\": \"UAH\", \n \"valueAddedTaxIncluded\": true\n }\n }\n}\n","old_contents":"$ http -j POST https:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders data:=@.\/school-tender.json\nPOST \/api\/0\/tenders HTTP\/1.1\r\nContent-Type: application\/json; charset=utf-8\r\n\r\n{\n \"data\": {\n \"procuringEntity\": {\n \"address\": {\n \"countryName\": \"\u0423\u043a\u0440\u0430\u0457\u043d\u0430\", \n \"locality\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"postalCode\": \"21027\", \n \"region\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"streetAddress\": \"\u0432\u0443\u043b. \u0421\u0442\u0430\u0445\u0443\u0440\u0441\u044c\u043a\u043e\u0433\u043e. 22\"\n }, \n \"identifier\": {\n \"id\": \"21725150\", \n \"legalName\": \"\u0417\u0430\u043a\u043b\u0430\u0434 \\\"\u0417\u0430\u0433\u0430\u043b\u044c\u043d\u043e\u043e\u0441\u0432\u0456\u0442\u043d\u044f \u0448\u043a\u043e\u043b\u0430 \u0406-\u0406\u0406\u0406 \u0441\u0442\u0443\u043f\u0435\u043d\u0456\u0432 \u2116 10 \u0412\u0456\u043d\u043d\u0438\u0446\u044c\u043a\u043e\u0457 \u043c\u0456\u0441\u044c\u043a\u043e\u0457 \u0440\u0430\u0434\u0438\\\"\", \n \"scheme\": \"https:\/\/ns.openprocurement.org\/ua\/edrpou\", \n \"uri\": \"http:\/\/sch10.edu.vn.ua\/\"\n }, \n \"name\": \"\u0417\u041e\u0421\u0428 #10 \u043c.\u0412\u0456\u043d\u043d\u0438\u0446\u0456\"\n }\n }\n}\n\nHTTP\/1.1 201 Created\r\nContent-Type: application\/json; charset=UTF-8\r\nLocation: http:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders\/327c00d16cff4c37be5bd4915cdff8a3\r\n\r\n{\n \"access\": {\n \"token\": \"4668a63ccfd443e8b848e856952e9a2b\"\n }, \n \"data\": {\n \"dateModified\": \"2014-12-01T17:39:25.289180+02:00\", \n \"enquiryPeriod\": {\n \"startDate\": \"2014-12-01T17:39:25.289180+02:00\"\n }, \n \"id\": \"327c00d16cff4c37be5bd4915cdff8a3\", \n \"procuringEntity\": {\n \"address\": {\n \"countryName\": \"\u0423\u043a\u0440\u0430\u0457\u043d\u0430\", \n \"locality\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"postalCode\": \"21027\", \n \"region\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"streetAddress\": \"\u0432\u0443\u043b. \u0421\u0442\u0430\u0445\u0443\u0440\u0441\u044c\u043a\u043e\u0433\u043e. 22\"\n }, \n \"identifier\": {\n \"id\": \"21725150\", \n \"legalName\": \"\u0417\u0430\u043a\u043b\u0430\u0434 \\\"\u0417\u0430\u0433\u0430\u043b\u044c\u043d\u043e\u043e\u0441\u0432\u0456\u0442\u043d\u044f \u0448\u043a\u043e\u043b\u0430 \u0406-\u0406\u0406\u0406 \u0441\u0442\u0443\u043f\u0435\u043d\u0456\u0432 \u2116 10 \u0412\u0456\u043d\u043d\u0438\u0446\u044c\u043a\u043e\u0457 \u043c\u0456\u0441\u044c\u043a\u043e\u0457 \u0440\u0430\u0434\u0438\\\"\", \n \"scheme\": \"https:\/\/ns.openprocurement.org\/ua\/edrpou\", \n \"uri\": \"http:\/\/sch10.edu.vn.ua\/\"\n }, \n \"name\": \"\u0417\u041e\u0421\u0428 #10 \u043c.\u0412\u0456\u043d\u043d\u0438\u0446\u0456\"\n }, \n \"status\": \"active.enquiries\", \n \"tenderID\": \"UA-327c00d16cff4c37be5bd4915cdff8a3\"\n }\n}\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"72c1eddd6d6330e43b639ab2573b0415b8a01def","subject":"Test abacus status requests","message":"Test abacus status requests\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"d7cf2c7b2cd1f88b7591d76201f36a0c096b97cb","subject":"corrected comment","message":"corrected comment\n","repos":"dschulten\/hydra-java","old_file":"hydra-sample\/webapp\/test\/http\/sample-requests.http","new_file":"hydra-sample\/webapp\/test\/http\/sample-requests.http","new_contents":"### Get store as json\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/json\n\n### Get store as json-ld\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/ld+json\n\n### Get store as siren\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/vnd.siren+json\n\n### Get store as uber\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/vnd.amundsen-uber+json\n\n### Get events as json\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/json\n\n### Get events as json-ld\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/ld+json\n\n### Get events as siren\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/vnd.siren+json\n\n### Get events as uber\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/vnd.amundsen-uber+json\n\n###\n","old_contents":"### Get store as json\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/json\n\n### Get store as json-ld\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/ld+json\n\n### Get store as siren\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/vnd.siren+json\n\n### Get store as uber\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/vnd.amundsen-uber+json\n\n### Get store as json\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/json\n\n### Get store as json-ld\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/ld+json\n\n### Get store as siren\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/vnd.siren+json\n\n### Get store as uber\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/vnd.amundsen-uber+json\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"4ece8d6e7b73b906db17795ae7c6b3c8cd2d5b8d","subject":"test: Add Graphql manual test","message":"test: Add Graphql manual test\n","repos":"nielsbasjes\/yauaa,nielsbasjes\/yauaa,nielsbasjes\/yauaa,nielsbasjes\/yauaa","old_file":"webapp\/src\/test\/Intellij-manual-testing.http","new_file":"webapp\/src\/test\/Intellij-manual-testing.http","new_contents":"### Is it running?\nGET http:\/\/localhost:8080\/running\n\n\n### Is it running (_AH)?\nGET http:\/\/localhost:8080\/_ah\/health\n\n\n### Analyze and retrieve as JSON\nPOST http:\/\/localhost:8080\/yauaa\/v1\/analyze\/json\nContent-Type: text\/plain\n\nMozilla\/5.0 (Linux; Android 10; Nokia 7.2) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/88.0.4324.93 Mobile Safari\/537.36\n\n\n### Analyze and retrieve as XML\nPOST http:\/\/localhost:8080\/yauaa\/v1\/analyze\/xml\nContent-Type: text\/plain\n\nMozilla\/5.0 (Linux; Android 10; Nokia 7.2) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/88.0.4324.93 Mobile Safari\/537.36\n\n\n### Analyze and retrieve as YAML\nPOST http:\/\/localhost:8080\/yauaa\/v1\/analyze\/yaml\nContent-Type: text\/plain\n\nMozilla\/5.0 (Linux; Android 10; Nokia 7.2) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/88.0.4324.93 Mobile Safari\/537.36\n\n\n### Run preheat\nGET http:\/\/localhost:8080\/yauaa\/v1\/preheat\n\n\n### Run all tests\nGET http:\/\/localhost:8080\/yauaa\/v1\/runtests\n\n\n### Run GraphQL Query\nPOST http:\/\/localhost:8080\/graphql\nContent-Type: application\/json\nAccept: application\/json\n\n{ \"query\":\"query { analyze(requestHeaders: { userAgent : \\\"Mozilla\\\\\/5.0 (X11; Linux x86_64) AppleWebKit\\\\\/537.36 (KHTML, like Gecko) Chrome\\\\\/104.0.0.0 Safari\\\\\/537.36\\\" secChUa : \\\"\\\\\\\"Chromium\\\\\\\";v=\\\\\\\"104\\\\\\\", \\\\\\\" Not A;Brand\\\\\\\";v=\\\\\\\"99\\\\\\\", \\\\\\\"Google Chrome\\\\\\\";v=\\\\\\\"104\\\\\\\"\\\" secChUaArch : \\\"\\\\\\\"x86\\\\\\\"\\\" secChUaBitness : \\\"\\\\\\\"64\\\\\\\"\\\" secChUaFullVersion : \\\"\\\\\\\"104.0.5112.101\\\\\\\"\\\" secChUaFullVersionList : \\\"\\\\\\\"Chromium\\\\\\\";v=\\\\\\\"104.0.5112.101\\\\\\\", \\\\\\\" Not A;Brand\\\\\\\";v=\\\\\\\"99.0.0.0\\\\\\\", \\\\\\\"Google Chrome\\\\\\\";v=\\\\\\\"104.0.5112.101\\\\\\\"\\\" secChUaMobile : \\\"?0\\\" secChUaModel : \\\"\\\\\\\"\\\\\\\"\\\" secChUaPlatform : \\\"\\\\\\\"Linux\\\\\\\"\\\" secChUaPlatformVersion : \\\"\\\\\\\"5.15.0\\\\\\\"\\\" secChUaWoW64 : \\\"?0\\\" }) { deviceName deviceBrand operatingSystemClass operatingSystemNameVersion agentClass agentNameVersionMajor someFields:fields(fieldNames: [ \\\"DeviceClass\\\", \\\"AgentName\\\"]){ fieldName value } } version { gitCommitId buildTimeStamp buildJDKVersion }}\", \"variables\":{}}\n\n### -----------------------------------------\n###\n### Yet Another UserAgent Analyzer\n### Copyright (C) 2013-2022 Niels Basjes\n###\n### Licensed under the Apache License, Version 2.0 (the \"License\");\n### you may not use this file except in compliance with the License.\n### You may obtain a copy of the License at\n###\n### https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n###\n### Unless required by applicable law or agreed to in writing, software\n### distributed under the License is distributed on an \"AS IS\" BASIS,\n### WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n### See the License for the specific language governing permissions and\n### limitations under the License.\n###\n### -----------------------------------------\n","old_contents":"### -----------------------------------------\n### Is it running?\nGET http:\/\/localhost:8080\/running\n\n### -----------------------------------------\n### Is it running?\nGET http:\/\/localhost:8080\/_ah\/health\n\n### -----------------------------------------\n### Analyze and retrieve as JSON\nPOST http:\/\/localhost:8080\/yauaa\/v1\/analyze\/json\nContent-Type: text\/plain\n\nMozilla\/5.0 (Linux; Android 10; Nokia 7.2) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/88.0.4324.93 Mobile Safari\/537.36\n\n### -----------------------------------------\n### Analyze and retrieve as XML\nPOST http:\/\/localhost:8080\/yauaa\/v1\/analyze\/xml\nContent-Type: text\/plain\n\nMozilla\/5.0 (Linux; Android 10; Nokia 7.2) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/88.0.4324.93 Mobile Safari\/537.36\n\n### -----------------------------------------\n### Analyze and retrieve as YAML\nPOST http:\/\/localhost:8080\/yauaa\/v1\/analyze\/yaml\nContent-Type: text\/plain\n\nMozilla\/5.0 (Linux; Android 10; Nokia 7.2) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/88.0.4324.93 Mobile Safari\/537.36\n\n### -----------------------------------------\n### Run preheat\nGET http:\/\/localhost:8080\/yauaa\/v1\/preheat\n\n### -----------------------------------------\n### Run all tests\nGET http:\/\/localhost:8080\/yauaa\/v1\/runtests\n\n\n\n\n### -----------------------------------------\n###\n### Yet Another UserAgent Analyzer\n### Copyright (C) 2013-2022 Niels Basjes\n###\n### Licensed under the Apache License, Version 2.0 (the \"License\");\n### you may not use this file except in compliance with the License.\n### You may obtain a copy of the License at\n###\n### https:\/\/www.apache.org\/licenses\/LICENSE-2.0\n###\n### Unless required by applicable law or agreed to in writing, software\n### distributed under the License is distributed on an \"AS IS\" BASIS,\n### WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n### See the License for the specific language governing permissions and\n### limitations under the License.\n###\n### -----------------------------------------\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"e88ffa3a13c0ce6d64bae66156aa7e6f490bc46f","subject":"Update Boost.Http version in use","message":"Update Boost.Http version in use\n","repos":"vinipsmaker\/tufao,vinipsmaker\/tufao,vinipsmaker\/tufao","old_file":"3rd\/boost.http","new_file":"3rd\/boost.http","new_contents":"","old_contents":"","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"HTTP"} {"commit":"f8a9f5a9128ee3cc2ba22a682b7544315a3ca47e","subject":"Add file to support easier testing of the API while in IntelliJ","message":"Add file to support easier testing of the API while in IntelliJ\n","repos":"nielsbasjes\/yauaa,nielsbasjes\/yauaa,nielsbasjes\/yauaa,nielsbasjes\/yauaa","old_file":"webapp\/src\/test\/Intellij-manual-testing.http","new_file":"webapp\/src\/test\/Intellij-manual-testing.http","new_contents":"","old_contents":"","returncode":0,"stderr":"unknown","license":"apache-2.0","lang":"HTTP"} {"commit":"405d1afa2fe48caa23cc0ea03f7f678b4389771a","subject":"Upd API tests","message":"Upd API tests\n","repos":"TotallyInformation\/node-red-contrib-uibuilder,TotallyInformation\/node-red-contrib-uibuilder","old_file":"tests\/newapi.http","new_file":"tests\/newapi.http","new_contents":"\/\/ Test uibuilder v3 admin API routes\n\/\/\n\/\/ Using REST Client extension https:\/\/github.com\/Huachao\/vscode-restclient#rest-client\n\n\/\/ File variables\n@hostname = localhost\n@port = 1880\n@host = {{hostname}}:{{port}}\n@redAdminPath = red\n@uibPath = uibuilder\n@uibAdminPath = admin\n@contentType = application\/json\n@createdAt = {{$datetime iso8601}}\n# Valid uibuilder instance URL\n@url = test1\n\n# @name Sample-Get\n# Get something and return it\nGET http:\/\/{{host}}\/{{redAdminPath}}\/{{uibPath}}\/{{uibAdminPath}}\/{{url}}?ping=pong\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample GET\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Put\n# Write file contents\nPUT http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample PUT\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Post\n# Create a new folder or file\nPOST http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Delete\n# Delete a folder or a file\nDELETE http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Instance-Info\n# Returns an HTML page of info for the current instance of uibuilder\nGET http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/instance\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"cmd\": \"showinstancesettings\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Instance-List-All-Folders-Files\n# Returns json list of all folders and files for the given URL (uibuilder instance)\nGET http:\/\/{{host}}\/{{redAdminPath}}\/{{uibPath}}\/{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"cmd\": \"listall\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name List-User-Urls\n# Returns json list of all ExpressJS routes on the user app\nGET http:\/\/{{host}}\/{{redAdminPath}}\/{{uibPath}}\/{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"cmd\": \"listurls\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Check-Url-For-Duplicate\n# Returns json true\/false. True if the given URL already exists in the list of instances or the instance folder names\nGET http:\/\/{{host}}\/{{redAdminPath}}\/{{uibPath}}\/{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"cmd\": \"checkurls\",\n \"time\": \"{{createdAt}}\"\n}\n\n\/\/ NOTES:\n\/\/ - can send a file: `< filename.json` or (for processing variables): `<@ filename.json`\n\/\/ - ExpressJS supported methods are here: https:\/\/expressjs.com\/en\/4x\/api.html#app.METHOD","old_contents":"\/\/ Test uibuilder v3 admin API routes\n\/\/\n\/\/ Using REST Client extension https:\/\/github.com\/Huachao\/vscode-restclient#rest-client\n\n\/\/ File variables\n@hostname = localhost\n@port = 1880\n@host = {{hostname}}:{{port}}\n@redAdminPath = red\/\n@uibAdminPath = uib\n@contentType = application\/json\n@createdAt = {{$datetime iso8601}}\n# Valid uibuilder instance URL\n@url = uib\n\n# @name Sample-Get\n# Get something and return it\nGET http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}?ping=pong\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample GET\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Put\n# Write file contents\nPUT http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample PUT\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Post\n# Create a new folder or file\nPOST http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Delete\n# Delete a folder or a file\nDELETE http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Instance-Info\n# Returns an HTML page of info for the current instance of uibuilder\nGET http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/instance\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"cmd\": \"showinstancesettings\",\n \"time\": \"{{createdAt}}\"\n}\n\n\n\/\/ NOTES:\n\/\/ - can send a file: `< filename.json` or (for processing variables): `<@ filename.json`\n\/\/ - ExpressJS supported methods are here: https:\/\/expressjs.com\/en\/4x\/api.html#app.METHOD","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"be0e61e827db31456479687c50f2875ccba79734","subject":"Update the API tests","message":"Update the API tests\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n:auth-token = Token <my-secret-token>\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Search a specific production by DAM number\nGET http:\/\/localhost:3000\/api\/productions?search=dam31411\n\n# Search a specific production by library_signature\nGET http:\/\/localhost:3000\/api\/productions?search=ds1234\n\n# Search a specific production by library_number\nGET http:\/\/localhost:3000\/api\/productions?search=PNX 8381\n\n# Search a specific production by product_number\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Search a specific production by state\nGET http:\/\/localhost:3000\/api\/productions?search=pending-split\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Delete a production\nDELETE http:\/\/localhost:3000\/api\/productions\/31411\nAuthorization: :auth-token\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\nAuthorization: :auth-token\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version='1.0' encoding='UTF-8'?>\r\n<!DOCTYPE dtbook PUBLIC \"-\/\/NISO\/\/DTD dtbook 2005-3\/\/EN\" \"http:\/\/www.daisy.org\/z3986\/2005\/dtbook-2005-3.dtd\">\r\n<dtbook xmlns=\"http:\/\/www.daisy.org\/z3986\/2005\/dtbook\/\" version=\"2005-3\" xml:lang=\"de\">\r\n <head>\r\n <meta name=\"dc:Title\" content=\"Chaosk\u00f6niginnen. Besser als beste Freund\"\/>\r\n <meta name=\"dc:Creator\" content=\"Br\u00fcning, Valentina\"\/>\r\n <meta name=\"dc:Subject\" content=\"\"\/>\r\n <meta name=\"dc:Description\" content=\"\"\/>\r\n <meta name=\"dc:Publisher\" content=\"SBS Schweizerische Bibliothek f\u00fcr Blinde, Seh- und Lesebehinderte\"\/>\r\n <meta name=\"dc:Date\" content=\"2022-02-10\"\/>\r\n <meta name=\"dc:Type\" content=\"Sound\"\/>\r\n <meta name=\"dc:Format\" content=\"Daisy 2.02\"\/>\r\n <meta name=\"dc:Identifier\" content=\"ch-sbs-ab5a8c9b-bb63-46e0-adb0-b073a9d1698f\"\/>\r\n <meta name=\"dc:Source\" content=\"978-3-86429-472-3\"\/>\r\n <meta name=\"dc:Language\" content=\"de\"\/>\r\n <meta name=\"dc:Rights\" content=\"\"\/>\r\n <meta name=\"dtb:uid\" content=\"ch-sbs-ab5a8c9b-bb63-46e0-adb0-b073a9d1698f\"\/>\r\n <meta name=\"dtb:sourceDate\" content=\"2021-01-01\"\/>\r\n <meta name=\"dtb:sourceEdition\" content=\"1. \/ 2021\"\/>\r\n <meta name=\"dtb:sourcePublisher\" content=\"Tulipan\"\/>\r\n <meta name=\"dtb:sourceRights\" content=\"\"\/>\r\n <meta name=\"dtb:sourceTitle\" content=\"\"\/>\r\n <meta name=\"dtb:multimediaType\" content=\"\"\/>\r\n <meta name=\"dtb:multimediaContent\" content=\"\"\/>\r\n <meta name=\"dtb:narrator\" content=\"N.N.\"\/>\r\n <meta name=\"dtb:producer\" content=\"SBS Schweizerische Bibliothek f\u00fcr Blinde, Seh- und Lesebehinderte\"\/>\r\n <meta name=\"dtb:producedDate\" content=\"\"\/>\r\n <meta name=\"dtb:revision\" content=\"0\"\/>\r\n <meta name=\"dtb:revisionDate\" content=\"2015-06-25\"\/>\r\n <meta name=\"dtb:revisionDescription\" content=\"\"\/>\r\n <meta name=\"dtb:totalTime\" content=\"00:00:00.000\"\/>\r\n <meta name=\"dtb:audioFormat\" content=\"\"\/>\r\n <\/head>\r\n <book>\r\n <frontmatter>\r\n <doctitle>Test - whout von Test - Gubser, Paul<\/doctitle>\r\n <docauthor>Test - Gubser, Paul<\/docauthor>\r\n <\/frontmatter>\r\n <bodymatter>\r\n <level1>\r\n\t<h1\/>\r\n\t<p\/>\r\n <\/level1>\r\n <\/bodymatter>\r\n <\/book>\r\n<\/dtbook>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds12345\"\n}\n\n####################################\n# Marking a production as recorded #\n####################################\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/productions\/1035\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n# Mark a non-existing production as recorded\nPOST http:\/\/localhost:3000\/api\/productions\/1\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n# Mark production as recorded which doesn't have state 'structured'\nPOST http:\/\/localhost:3000\/api\/productions\/94\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n#################################\n# Marking a production as split #\n#################################\n\n# Mark a production as split\nPOST http:\/\/localhost:3000\/api\/productions\/29867\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark a non-existing production as split\nPOST http:\/\/localhost:3000\/api\/productions\/1\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark production as split with an invalid bit-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 5\n}\n\n# Mark production as split with an invalid sample-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44101,\n \"bit-rate\": 48\n}\n\n# Mark production as split which doesn't have state 'pending-split'\nPOST http:\/\/localhost:3000\/api\/productions\/94\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/1035\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Metrics\nGET http:\/\/localhost:3000\/metrics\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n:auth-token = Token <my-secret-token>\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Search a specific production by DAM number\nGET http:\/\/localhost:3000\/api\/productions?search=dam31411\n\n# Search a specific production by library_signature\nGET http:\/\/localhost:3000\/api\/productions?search=ds1234\n\n# Search a specific production by library_number\nGET http:\/\/localhost:3000\/api\/productions?search=PNX 8381\n\n# Search a specific production by product_number\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Search a specific production by state\nGET http:\/\/localhost:3000\/api\/productions?search=pending-split\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Delete a production\nDELETE http:\/\/localhost:3000\/api\/productions\/31411\nAuthorization: :auth-token\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\nAuthorization: :auth-token\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version='1.0' encoding='UTF-8'?>\r\n<!DOCTYPE dtbook PUBLIC \"-\/\/NISO\/\/DTD dtbook 2005-3\/\/EN\" \"http:\/\/www.daisy.org\/z3986\/2005\/dtbook-2005-3.dtd\">\r\n<dtbook xmlns=\"http:\/\/www.daisy.org\/z3986\/2005\/dtbook\/\" version=\"2005-3\" xml:lang=\"de\">\r\n <head>\r\n <meta name=\"dc:Title\" content=\"Chaosk\u00f6niginnen. Besser als beste Freund\"\/>\r\n <meta name=\"dc:Creator\" content=\"Br\u00fcning, Valentina\"\/>\r\n <meta name=\"dc:Subject\" content=\"\"\/>\r\n <meta name=\"dc:Description\" content=\"\"\/>\r\n <meta name=\"dc:Publisher\" content=\"SBS Schweizerische Bibliothek f\u00fcr Blinde, Seh- und Lesebehinderte\"\/>\r\n <meta name=\"dc:Date\" content=\"2022-02-10\"\/>\r\n <meta name=\"dc:Type\" content=\"Sound\"\/>\r\n <meta name=\"dc:Format\" content=\"Daisy 2.02\"\/>\r\n <meta name=\"dc:Identifier\" content=\"ch-sbs-ab5a8c9b-bb63-46e0-adb0-b073a9d1698f\"\/>\r\n <meta name=\"dc:Source\" content=\"978-3-86429-472-3\"\/>\r\n <meta name=\"dc:Language\" content=\"de\"\/>\r\n <meta name=\"dc:Rights\" content=\"\"\/>\r\n <meta name=\"dtb:uid\" content=\"ch-sbs-ab5a8c9b-bb63-46e0-adb0-b073a9d1698f\"\/>\r\n <meta name=\"dtb:sourceDate\" content=\"2021-01-01\"\/>\r\n <meta name=\"dtb:sourceEdition\" content=\"1. \/ 2021\"\/>\r\n <meta name=\"dtb:sourcePublisher\" content=\"Tulipan\"\/>\r\n <meta name=\"dtb:sourceRights\" content=\"\"\/>\r\n <meta name=\"dtb:sourceTitle\" content=\"\"\/>\r\n <meta name=\"dtb:multimediaType\" content=\"\"\/>\r\n <meta name=\"dtb:multimediaContent\" content=\"\"\/>\r\n <meta name=\"dtb:narrator\" content=\"N.N.\"\/>\r\n <meta name=\"dtb:producer\" content=\"SBS Schweizerische Bibliothek f\u00fcr Blinde, Seh- und Lesebehinderte\"\/>\r\n <meta name=\"dtb:producedDate\" content=\"\"\/>\r\n <meta name=\"dtb:revision\" content=\"0\"\/>\r\n <meta name=\"dtb:revisionDate\" content=\"2015-06-25\"\/>\r\n <meta name=\"dtb:revisionDescription\" content=\"\"\/>\r\n <meta name=\"dtb:totalTime\" content=\"00:00:00.000\"\/>\r\n <meta name=\"dtb:audioFormat\" content=\"\"\/>\r\n <\/head>\r\n <book>\r\n <frontmatter>\r\n <doctitle>Test - whout von Test - Gubser, Paul<\/doctitle>\r\n <docauthor>Test - Gubser, Paul<\/docauthor>\r\n <\/frontmatter>\r\n <bodymatter>\r\n <level1>\r\n\t<h1\/>\r\n\t<p\/>\r\n <\/level1>\r\n <\/bodymatter>\r\n <\/book>\r\n<\/dtbook>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds12345\"\n}\n\n####################################\n# Marking a production as recorded #\n####################################\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/productions\/27707\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n# Mark a non-existing production as recorded\nPOST http:\/\/localhost:3000\/api\/productions\/1\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n# Mark production as recorded which doesn't have state 'structured'\nPOST http:\/\/localhost:3000\/api\/productions\/94\/recorded\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n\n#################################\n# Marking a production as split #\n#################################\n\n# Mark a production as split\nPOST http:\/\/localhost:3000\/api\/productions\/29867\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark a non-existing production as split\nPOST http:\/\/localhost:3000\/api\/productions\/1\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark production as split with an invalid bit-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 5\n}\n\n# Mark production as split with an invalid sample-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44101,\n \"bit-rate\": 48\n}\n\n# Mark production as split which doesn't have state 'pending-split'\nPOST http:\/\/localhost:3000\/api\/productions\/94\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/302\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Metrics\nGET http:\/\/localhost:3000\/metrics\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"cc514ee74f78f41d27db77ea3c3a0ab5849ad366","subject":"Docs: Examples: Added namespace example","message":"Docs: Examples: Added namespace example\n","repos":"Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand","old_file":"docs\/examples\/schemas.http","new_file":"docs\/examples\/schemas.http","new_contents":"\nPOST \/test\/schemas\/implicit-foreign-_schema\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\",\n\t},\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\"\n\t},\n}\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\n###\n\n\n\n\n\nPOST \/test\/schemas\/implicit-foreign-_schema\n\n{\n\t\"_schema\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"campo\": \"valor\"\n}\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\n###\n\nPUT \/test\/schemas\/implicit-foreign-_schema2\/:schema\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nPUT \/test\/schemas\/implicit-foreign-_schema2\/:schema\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"otro\": {\n\t\t\t\"_type\": \"integer\"\n\t\t}\n\t},\n}\n###\nGET \/test\/schemas\/implicit-foreign-_schema2\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema2\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit-foreign-_type-_schema\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_type-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\"\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit-foreign-_type-_schema-schema\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_type-_schema-schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\",\n\t\t\"schema\": {\n\t\t\t\"_type\": \"object\",\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"campo\": {\n\t\t\t\t\"_type\": \"string\"\n\t\t\t}\n\t\t}\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema-schema\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema-schema\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema-schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit-_schema-schema\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_type\": \"object\",\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"campo\": {\n\t\t\t\t\"_type\": \"string\"\n\t\t\t}\n\t\t}\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET \/test\/schemas\/implicit-_schema-schema\/:schema\n###\nGET \/test\/schemas\/implicit-_schema-schema\/:metadata\n###\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit\n\n{\n\t\"campo\": \"valor\"\n}\n###\nGET \/test\/schemas\/implicit\/:schema\n###\nGET \/test\/schemas\/implicit\/:metadata\n###\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit-_type\n\n{\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\"\n\t}\n}\n###\nGET \/test\/schemas\/implicit-_type\/:schema\n###\nGET \/test\/schemas\/implicit-_type\/:metadata\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit-foreign\/:schema\n\n\"test\/schemas\/explicit-foreign\/.schemas\/00000000-0000-1000-8000-010000000000\"\n###\nGET \/test\/schemas\/explicit-foreign\/:schema\n###\nGET \/test\/schemas\/explicit-foreign\/:metadata\n###\nGET \/test\/schemas\/explicit-foreign\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit-foreign-_type\/:schema\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nGET \/test\/schemas\/explicit-foreign-_type\/:schema\n###\nGET \/test\/schemas\/explicit-foreign-_type\/:metadata\n###\nGET \/test\/schemas\/explicit-foreign-_type\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit-foreign-_type-schema\/:schema\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET \/test\/schemas\/explicit-foreign-_type-schema\/:schema\n###\nGET \/test\/schemas\/explicit-foreign-_type-schema\/:metadata\n###\nGET \/test\/schemas\/explicit-foreign-_type-schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit-_type\/:schema\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET \/test\/schemas\/explicit-_type\/:schema\n###\nGET \/test\/schemas\/explicit-_type\/:metadata\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit\/:schema\n\n{\n\t\"version\": 2.0,\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\t\"_index\": \"field_terms\",\n\t\t\t\t\"_language\": \"en\",\n\t\t\t\t\"_slot\": 499030115,\n\t\t\t\t\"_type\": \"string\"\n\t\t}\n\t}\n}\n###\nGET \/test\/schemas\/explicit\/:schema\n###\nGET \/test\/schemas\/explicit\/:metadata\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-_schama-object\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nPUT \/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-object\/:metadata\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-object\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\nPUT \/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:schema\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"otro\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t},\n}\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:schema\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:metadata\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\nPOST \/test\/schemas\/uuid_field\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"<uuid_field>\": {\n\t\t\t\t\"meta\": {\n\t\t\t\t\t\"_recurse\": false,\n\t\t\t\t},\n\t\t\t\t\"roles\": {\n\t\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t\t}\n\t\t\t},\n\t\t}\n\t},\n\t\"~3pZyPcFqGq\": {\n\t\t\"meta\": {\n\t\t\t\"scope\": \"read write\"\n\t\t},\n\t\t\"roles\": [\n\t\t\t\"myself\"\n\t\t]\n\t},\n}\n###\nGET \/test\/schemas\/uuid_field\/:schema\n###\nGET \/test\/schemas\/uuid_field\/:metadata\n###\n\n\/\/\/\/\/\/\n\n\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit-foreign-_schema\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/~8NB7DEPmtJ4\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\"\n\t},\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\",\n\t},\n}\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/~8NB7DEPmtJ4\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\n###\n\n\n\nPUT \/test\/xxx\/:schema\n\n{\n\t\"version\": 2.0,\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"campo\": {\n\t\t\t\"_prefix\": \"\\xff\\x03w\\xcb\",\n\t\t\t\"_index\": \"terms\",\n\t\t\t\"_language\": \"en\",\n\t\t\t\"_slot\": 3064504733, \/\/ slot: '\\xff\\x03w\\xcb' = 3064504733\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"_id\": {\n\t\t\t\"_bool_term\": true,\n\t\t\t\"_prefix\": \"Q\",\n\t\t\t\"_slot\": 0,\n\t\t\t\"_type\": \"uuid\"\n\t\t}\n\t},\n}\n###\nGET \/test\/xxx\/:schema\n###\nGET \/test\/xxx\/:metadata\n###\n\n\n\n\nPUT \/test\/xxx\/:schema\n\n{\n\t\"version\": 2.0,\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"campo\": {\n\t\t\t\"_index\": \"terms\",\n\t\t\t\"_language\": \"en\",\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"_id\": {\n\t\t\t\"_bool_term\": true,\n\t\t\t\"_type\": \"uuid\"\n\t\t}\n\t},\n}\n###\nGET \/test\/xxx\/:schema\n###\nGET \/test\/xxx\/:metadata\n###\n\n\n\n\nPOST \/test\/schemas\/namespace\n\n{\n\t\"A\": {\n\t\t\"_value\": \"A de \u00e1rbol\",\n\t\t\"_namespace\" : true\n\t},\n\n\t\"B\": {\n\t\t\"_value\": \"B de barco\",\n\t\t\"_namespace\": true\n\t},\n\n\t\"C\": {\n\t\t\"_value\": \"C de casa\",\n\t\t\"_namespace\": true,\n\t\t\"_partial_paths\": true,\n\t\t\"D\": {\n\t\t\t\"_value\": \"D de dedo\",\n\t\t\t\"E\": {\n\t\t\t\t\"_value\": [\n\t\t\t\t\t\"E de Espada\",\n\t\t\t\t\tnull\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}\n###\nGET \/test\/schemas\/namespace\/:schema\n###\nGET \/test\/schemas\/namespace\/:metadata\n###\n","old_contents":"\nPOST \/test\/schemas\/implicit-foreign-_schema\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\",\n\t},\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\"\n\t},\n}\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\n###\n\n\n\n\n\nPOST \/test\/schemas\/implicit-foreign-_schema\n\n{\n\t\"_schema\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"campo\": \"valor\"\n}\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\n###\n\nPUT \/test\/schemas\/implicit-foreign-_schema2\/:schema\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nPUT \/test\/schemas\/implicit-foreign-_schema2\/:schema\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"otro\": {\n\t\t\t\"_type\": \"integer\"\n\t\t}\n\t},\n}\n###\nGET \/test\/schemas\/implicit-foreign-_schema2\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema2\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit-foreign-_type-_schema\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_type-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\"\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit-foreign-_type-_schema-schema\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_type-_schema-schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\",\n\t\t\"schema\": {\n\t\t\t\"_type\": \"object\",\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"campo\": {\n\t\t\t\t\"_type\": \"string\"\n\t\t\t}\n\t\t}\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema-schema\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema-schema\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_type-_schema-schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit-_schema-schema\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_type\": \"object\",\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"campo\": {\n\t\t\t\t\"_type\": \"string\"\n\t\t\t}\n\t\t}\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET \/test\/schemas\/implicit-_schema-schema\/:schema\n###\nGET \/test\/schemas\/implicit-_schema-schema\/:metadata\n###\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit\n\n{\n\t\"campo\": \"valor\"\n}\n###\nGET \/test\/schemas\/implicit\/:schema\n###\nGET \/test\/schemas\/implicit\/:metadata\n###\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit-_type\n\n{\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\"\n\t}\n}\n###\nGET \/test\/schemas\/implicit-_type\/:schema\n###\nGET \/test\/schemas\/implicit-_type\/:metadata\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit-foreign\/:schema\n\n\"test\/schemas\/explicit-foreign\/.schemas\/00000000-0000-1000-8000-010000000000\"\n###\nGET \/test\/schemas\/explicit-foreign\/:schema\n###\nGET \/test\/schemas\/explicit-foreign\/:metadata\n###\nGET \/test\/schemas\/explicit-foreign\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit-foreign-_type\/:schema\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nGET \/test\/schemas\/explicit-foreign-_type\/:schema\n###\nGET \/test\/schemas\/explicit-foreign-_type\/:metadata\n###\nGET \/test\/schemas\/explicit-foreign-_type\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit-foreign-_type-schema\/:schema\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET \/test\/schemas\/explicit-foreign-_type-schema\/:schema\n###\nGET \/test\/schemas\/explicit-foreign-_type-schema\/:metadata\n###\nGET \/test\/schemas\/explicit-foreign-_type-schema\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit-_type\/:schema\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET \/test\/schemas\/explicit-_type\/:schema\n###\nGET \/test\/schemas\/explicit-_type\/:metadata\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit\/:schema\n\n{\n\t\"version\": 2.0,\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\t\"_index\": \"field_terms\",\n\t\t\t\t\"_language\": \"en\",\n\t\t\t\t\"_slot\": 499030115,\n\t\t\t\t\"_type\": \"string\"\n\t\t}\n\t}\n}\n###\nGET \/test\/schemas\/explicit\/:schema\n###\nGET \/test\/schemas\/explicit\/:metadata\n###\n\n\n\n\n\n\nPUT \/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-_schama-object\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nPUT \/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-object\/:metadata\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-object\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\nPUT \/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:schema\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"otro\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t},\n}\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:schema\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:metadata\n###\nGET \/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/.schemas\/00000000-0000-1000-8000-010000000000\n###\n\n\n\n\nPOST \/test\/schemas\/uuid_field\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"<uuid_field>\": {\n\t\t\t\t\"meta\": {\n\t\t\t\t\t\"_recurse\": false,\n\t\t\t\t},\n\t\t\t\t\"roles\": {\n\t\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t\t}\n\t\t\t},\n\t\t}\n\t},\n\t\"~3pZyPcFqGq\": {\n\t\t\"meta\": {\n\t\t\t\"scope\": \"read write\"\n\t\t},\n\t\t\"roles\": [\n\t\t\t\"myself\"\n\t\t]\n\t},\n}\n###\nGET \/test\/schemas\/uuid_field\/:schema\n###\nGET \/test\/schemas\/uuid_field\/:metadata\n###\n\n\/\/\/\/\/\/\n\n\n\n\n\n\n\n\nPOST \/test\/schemas\/implicit-foreign-_schema\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/~8NB7DEPmtJ4\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\"\n\t},\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\",\n\t},\n}\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/:metadata\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/~8NB7DEPmtJ4\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/:schema\n###\nGET \/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\n###\n\n\n\nPUT \/test\/xxx\/:schema\n\n{\n\t\"version\": 2.0,\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"campo\": {\n\t\t\t\"_prefix\": \"\\xff\\x03w\\xcb\",\n\t\t\t\"_index\": \"terms\",\n\t\t\t\"_language\": \"en\",\n\t\t\t\"_slot\": 3064504733, \/\/ slot: '\\xff\\x03w\\xcb' = 3064504733\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"_id\": {\n\t\t\t\"_bool_term\": true,\n\t\t\t\"_prefix\": \"Q\",\n\t\t\t\"_slot\": 0,\n\t\t\t\"_type\": \"uuid\"\n\t\t}\n\t},\n}\n###\nGET \/test\/xxx\/:schema\n###\nGET \/test\/xxx\/:metadata\n###\n\n\n\n\nPUT \/test\/xxx\/:schema\n\n{\n\t\"version\": 2.0,\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"campo\": {\n\t\t\t\"_index\": \"terms\",\n\t\t\t\"_language\": \"en\",\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"_id\": {\n\t\t\t\"_bool_term\": true,\n\t\t\t\"_type\": \"uuid\"\n\t\t}\n\t},\n}\n###\nGET \/test\/xxx\/:schema\n###\nGET \/test\/xxx\/:metadata\n###\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"98b5f8400865a930b7ee928ebd416692d98b94e8","subject":"Add calls to test the repair REST API","message":"Add calls to test the repair REST API\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"d91f9f021a249233d458ff3290c389dea0465cb9","subject":"Add a test call to delete a production","message":"Add a test call to delete a production\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Delete a production\nDELETE http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/302\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Metrics\nGET http:\/\/localhost:3000\/metrics\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/302\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Metrics\nGET http:\/\/localhost:3000\/metrics\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"ca5e93dbd35f49337e0a06d909139fd525d1f0cf","subject":"Test repairing a production that is actually archived","message":"Test repairing a production that is actually archived\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/302\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"2641374f7bb0c447f63035c273498c8749735dc4","subject":"add arm and sf","message":"add arm and sf\n","repos":"jagilber\/powershellScripts,jagilber\/powershellScripts","old_file":"REST.http","new_file":"REST.http","new_contents":"\n# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n\n# ip info\nhttps:\/\/ipinfo.io\/json\n###\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n# collectsfdata releases\nhttps:\/\/github.com\/microsoft\/collectservicefabricdata\/releases\/latest\n###\n\n# collectsfdata releases\nhttps:\/\/github.com\/microsoft\/collectservicefabricdata\/releases\n###\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n@downloads = {{repoQuery.response.body.$.downloads_url}}\nGET {{downloads}}\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n###\n\n###\nPOST https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n\n\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/jagilber.github.io\n\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/news.google.com \n###\n\n# nuget api test\n@id = https:\/\/azuresearch-usnc.nuget.org\/query\n@QUERY = Microsoft.ServiceFabric.CollectSFData\n@SKIP = 0\n@TAKE = 10\n@PRERELEASE = false\n#@SEMVERLEVEL = {{}}\n#@PACKAGETYPE = {{}}\nGET {{id}}?q={{QUERY}}&skip={{SKIP}}&take={{TAKE}}&prerelease={{PRERELEASE}}\n#&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}\n\n###\nGET https:\/\/api.github.com\/repos\/microsoft\/CollectServiceFabricData\/releases\/latest\n\n###\nGET https:\/\/www.w3.org\/services\/html2txt?url=https:\/\/devblogs.microsoft.com\/powershell\/arm-dsc-extension-settings\/\n###\n\n\n###\n@cluster = sfjagilber1nt3\n@location = eastus\n@apiversion = 6.4\n@managementPort = 19080\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/BackupRestore\/BackupPolicies?api-version={{apiversion}}\n\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/Applications\/?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/GetClusterManifest?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/$\/GetClusterHealth?api-version={{apiversion}}\nGET https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/Explorer\n###\n\n###\n@storageAccountName = sflogsbmnjfzoagi7jc2\n@tableSasToken = ?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacupx&se=2021-03-25T10:16:34Z&st=2021-03-25T02:16:34Z&spr=https&sig=DEIyaWBlIKe0Nru1ubEbb6u5t787LwoqQ5UVWgxMoJQ%3D\n@storageObjectToQuery = fabriclog8de7b13a4137454a9ad5a356fa0c3159Api\nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}\n###\n\n###\n# arm query\n@query =\n@apiversion = 2021-01-01\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp query api list\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-operations_list\n@query = providers\/Microsoft.ServiceFabric\/operations\n@apiversion = 2018-02-01\n\nGET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n#GET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp get cluster\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-clusters_get\n\n@query = providers\/Microsoft.ServiceFabric\/clusters\/{{clusterName}}\n@apiversion = 2018-02-01\n@resourceGroupName = sfcluster\n@clusterName = {{resourceGroupName}}\n\n#GET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/resourceGroups\/{{resourceGroupName}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n\n###","old_contents":"\n# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n\n# ip info\nhttps:\/\/ipinfo.io\/json\n###\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n# collectsfdata releases\nhttps:\/\/github.com\/microsoft\/collectservicefabricdata\/releases\/latest\n###\n\n# collectsfdata releases\nhttps:\/\/github.com\/microsoft\/collectservicefabricdata\/releases\n###\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n@downloads = {{repoQuery.response.body.$.downloads_url}}\nGET {{downloads}}\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n###\n\n###\nPOST https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n\n\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/jagilber.github.io\n\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/news.google.com \n###\n\n# nuget api test\n@id = https:\/\/azuresearch-usnc.nuget.org\/query\n@QUERY = Microsoft.ServiceFabric.CollectSFData\n@SKIP = 0\n@TAKE = 10\n@PRERELEASE = false\n#@SEMVERLEVEL = {{}}\n#@PACKAGETYPE = {{}}\nGET {{id}}?q={{QUERY}}&skip={{SKIP}}&take={{TAKE}}&prerelease={{PRERELEASE}}\n#&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}\n\n###\nGET https:\/\/api.github.com\/repos\/microsoft\/CollectServiceFabricData\/releases\/latest\n\n###\nGET https:\/\/www.w3.org\/services\/html2txt?url=https:\/\/devblogs.microsoft.com\/powershell\/arm-dsc-extension-settings\/\n###\n\n\n###\n@cluster = sfjagilber1nt3\n@location = eastus\n@apiversion = 6.4\n@managementPort = 19080\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/BackupRestore\/BackupPolicies?api-version={{apiversion}}\n\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/Applications\/?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/GetClusterManifest?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/$\/GetClusterHealth?api-version={{apiversion}}\nGET https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/Explorer\n###\n\n###\n@storageAccountName = sflogsbmnjfzoagi7jc2\n@tableSasToken = ?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacupx&se=2021-03-25T10:16:34Z&st=2021-03-25T02:16:34Z&spr=https&sig=DEIyaWBlIKe0Nru1ubEbb6u5t787LwoqQ5UVWgxMoJQ%3D\n@storageObjectToQuery = fabriclog8de7b13a4137454a9ad5a356fa0c3159Api\nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"4f076af541d9e63c0be12335d72079cd5f61f1dd","subject":"add classifications","message":"add classifications\n","repos":"VolVoz\/openprocurement.tender.limited,openprocurement\/openprocurement.tender.limited,ivanromakh\/openprocurement.tender.limited","old_file":"docs\/source\/tutorial\/create-tender-procuringEntity.http","new_file":"docs\/source\/tutorial\/create-tender-procuringEntity.http","new_contents":"http --auth broker: -j POST https:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders data:=@limited.json \nHTTP\/1.1 201 Created\nContent-Length: 993\nContent-Type: application\/json; charset=UTF-8\nDate: Thu, 14 Jan 2016 14:48:35 GMT\nLocation: http:\/\/localhost:6543\/api\/0.12\/tenders\/2d06f1999dcf436fb61ccd0168702459\nSet-Cookie: SERVER_ID=04e5b032558985acf62e4cec14f943b2521a38e816c86c6c813e56102d73c8ec771bbc744f05686397674cd64cde7d2cff7248bc37bfa1b57ea51bc5f3fb5380; Path=\/\nX-Request-ID: req-ad1a5a96-f8d0-471f-9e9f-4d796875d8f1\n\n{\n \"access\": {\n \"token\": \"eab9e30f28df4ae78c5df39ede7b870a\"\n }, \n \"data\": {\n \"dateModified\": \"2016-01-14T16:48:35.636859+02:00\", \n \"id\": \"2d06f1999dcf436fb61ccd0168702459\", \n \"items\": [\n {\n \"additionalClassifications\": [\n {\n \"description\": \"\u041f\u043e\u0441\u043b\u0443\u0433\u0438 \u0448\u043a\u0456\u043b\u044c\u043d\u0438\u0445 \u0457\u0434\u0430\u043b\u0435\u043d\u044c\", \n \"id\": \"55.51.10.300\", \n \"scheme\": \"\u0414\u041a\u041f\u041f\"\n }\n ], \n \"classification\": {\n \"description\": \"\u041f\u043e\u0441\u043b\u0443\u0433\u0438 \u0437 \u0445\u0430\u0440\u0447\u0443\u0432\u0430\u043d\u043d\u044f \u0443 \u0448\u043a\u043e\u043b\u0430\u0445\", \n \"id\": \"55523100-3\", \n \"scheme\": \"CPV\"\n }, \n \"description\": \"\u041f\u043e\u0441\u043b\u0443\u0433\u0438 \u0448\u043a\u0456\u043b\u044c\u043d\u0438\u0445 \u0457\u0434\u0430\u043b\u0435\u043d\u044c\", \n \"id\": \"2dc54675d6364e2baffbc0f8e74432ac\"\n }\n ], \n \"owner\": \"broker\", \n \"procurementMethod\": \"limited\", \n \"procurementMethodType\": \"reporting\", \n \"status\": \"active\", \n \"procuringEntity\": {\n \"address\": {\n \"countryName\": \"\u0423\u043a\u0440\u0430\u0457\u043d\u0430\", \n \"locality\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"postalCode\": \"21027\", \n \"region\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"streetAddress\": \"\u0432\u0443\u043b. \u0421\u0442\u0430\u0445\u0443\u0440\u0441\u044c\u043a\u043e\u0433\u043e. 22\"\n }, \n \"contactPoint\": {\n \"name\": \"\u041a\u0443\u0446\u0430 \u0421\u0432\u0456\u0442\u043b\u0430\u043d\u0430 \u0412\u0430\u043b\u0435\u043d\u0442\u0438\u043d\u0456\u0432\u043d\u0430\", \n \"telephone\": \"+380 (432) 46-53-02\", \n \"url\": \"http:\/\/sch10.edu.vn.ua\/\"\n }, \n \"identifier\": {\n \"id\": \"21725150\", \n \"legalName\": \"\u0417\u0430\u043a\u043b\u0430\u0434 \\\"\u0417\u0430\u0433\u0430\u043b\u044c\u043d\u043e\u043e\u0441\u0432\u0456\u0442\u043d\u044f \u0448\u043a\u043e\u043b\u0430 \u0406-\u0406\u0406\u0406 \u0441\u0442\u0443\u043f\u0435\u043d\u0456\u0432 \u2116 10 \u0412\u0456\u043d\u043d\u0438\u0446\u044c\u043a\u043e\u0457 \u043c\u0456\u0441\u044c\u043a\u043e\u0457 \u0440\u0430\u0434\u0438\\\"\", \n \"scheme\": \"UA-EDR\"\n }, \n \"name\": \"\u0417\u041e\u0421\u0428 #10 \u043c.\u0412\u0456\u043d\u043d\u0438\u0446\u0456\"\n }, \n \"value\": {\n \"amount\": 500000, \n \"currency\": \"UAH\", \n \"valueAddedTaxIncluded\": true\n }\n \"tenderID\": \"UA-2016-01-14-000003\", \n \"title\": \"\u041f\u043e\u0441\u043b\u0443\u0433\u0438 \u0448\u043a\u0456\u043b\u044c\u043d\u0438\u0445 \u0457\u0434\u0430\u043b\u0435\u043d\u044c\", \n }\n}\n\n","old_contents":"http --auth broker: -j POST https:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders data:=@limited.json \nHTTP\/1.1 201 Created\nContent-Length: 993\nContent-Type: application\/json; charset=UTF-8\nDate: Thu, 14 Jan 2016 14:48:35 GMT\nLocation: http:\/\/localhost:6543\/api\/0.12\/tenders\/2d06f1999dcf436fb61ccd0168702459\nSet-Cookie: SERVER_ID=04e5b032558985acf62e4cec14f943b2521a38e816c86c6c813e56102d73c8ec771bbc744f05686397674cd64cde7d2cff7248bc37bfa1b57ea51bc5f3fb5380; Path=\/\nX-Request-ID: req-ad1a5a96-f8d0-471f-9e9f-4d796875d8f1\n\n{\n \"access\": {\n \"token\": \"eab9e30f28df4ae78c5df39ede7b870a\"\n }, \n \"data\": {\n \"dateModified\": \"2016-01-14T16:48:35.636859+02:00\", \n \"id\": \"2d06f1999dcf436fb61ccd0168702459\", \n \"items\": [\n {\n \"description\": \"\u041f\u043e\u0441\u043b\u0443\u0433\u0438 \u0448\u043a\u0456\u043b\u044c\u043d\u0438\u0445 \u0457\u0434\u0430\u043b\u0435\u043d\u044c\", \n \"id\": \"2dc54675d6364e2baffbc0f8e74432ac\"\n }\n ], \n \"owner\": \"broker\", \n \"procurementMethod\": \"limited\", \n \"procurementMethodType\": \"reporting\", \n \"status\": \"active\", \n \"procuringEntity\": {\n \"address\": {\n \"countryName\": \"\u0423\u043a\u0440\u0430\u0457\u043d\u0430\", \n \"locality\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"postalCode\": \"21027\", \n \"region\": \"\u043c. \u0412\u0456\u043d\u043d\u0438\u0446\u044f\", \n \"streetAddress\": \"\u0432\u0443\u043b. \u0421\u0442\u0430\u0445\u0443\u0440\u0441\u044c\u043a\u043e\u0433\u043e. 22\"\n }, \n \"contactPoint\": {\n \"name\": \"\u041a\u0443\u0446\u0430 \u0421\u0432\u0456\u0442\u043b\u0430\u043d\u0430 \u0412\u0430\u043b\u0435\u043d\u0442\u0438\u043d\u0456\u0432\u043d\u0430\", \n \"telephone\": \"+380 (432) 46-53-02\", \n \"url\": \"http:\/\/sch10.edu.vn.ua\/\"\n }, \n \"identifier\": {\n \"id\": \"21725150\", \n \"legalName\": \"\u0417\u0430\u043a\u043b\u0430\u0434 \\\"\u0417\u0430\u0433\u0430\u043b\u044c\u043d\u043e\u043e\u0441\u0432\u0456\u0442\u043d\u044f \u0448\u043a\u043e\u043b\u0430 \u0406-\u0406\u0406\u0406 \u0441\u0442\u0443\u043f\u0435\u043d\u0456\u0432 \u2116 10 \u0412\u0456\u043d\u043d\u0438\u0446\u044c\u043a\u043e\u0457 \u043c\u0456\u0441\u044c\u043a\u043e\u0457 \u0440\u0430\u0434\u0438\\\"\", \n \"scheme\": \"UA-EDR\"\n }, \n \"name\": \"\u0417\u041e\u0421\u0428 #10 \u043c.\u0412\u0456\u043d\u043d\u0438\u0446\u0456\"\n }, \n \"value\": {\n \"amount\": 500000, \n \"currency\": \"UAH\", \n \"valueAddedTaxIncluded\": true\n }\n \"tenderID\": \"UA-2016-01-14-000003\", \n \"title\": \"\u041f\u043e\u0441\u043b\u0443\u0433\u0438 \u0448\u043a\u0456\u043b\u044c\u043d\u0438\u0445 \u0457\u0434\u0430\u043b\u0435\u043d\u044c\", \n }\n}\n\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"06bb111a733a434b5803ded98b06a5237adb4b91","subject":"change 503 page","message":"change 503 page\n","repos":"garyspencer\/GarySpencer,garyspencer\/GarySpencer","old_file":"errorpages\/503.http","new_file":"errorpages\/503.http","new_contents":"HTTP\/1.0 503 Service Unavailable\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text\/html\r\n\r\n<html>\r\n\t<body>\r\n\t\t<div class=\"container\">\r\n\t\t <div class=\"row\">\r\n\t\t <div class=\"col-md-12\">\r\n\t\t <div class=\"error-template\">\r\n\t\t <h1>\r\n\t\t Oops!<\/h1>\r\n\t\t <h2>\r\n\t\t 404 Not Found<\/h2>\r\n\t\t <div class=\"error-details\">\r\n\t\t Sorry, an error has occured, Requested page not found!\r\n\t\t <\/div>\r\n\t\t <div class=\"error-actions\">\r\n\t\t <a href=\"http:\/\/www.jquery2dotnet.com\" class=\"btn btn-primary btn-lg\"><span class=\"glyphicon glyphicon-home\"><\/span>\r\n\t\t Take Me Home <\/a><a href=\"http:\/\/www.jquery2dotnet.com\" class=\"btn btn-default btn-lg\"><span class=\"glyphicon glyphicon-envelope\"><\/span> Contact Support <\/a>\r\n\t\t <\/div>\r\n\t\t <\/div>\r\n\t\t <\/div>\r\n\t\t <\/div>\r\n\t\t<\/div>\r\n\t<\/body>\r\n<\/html>\r\n\r\n","old_contents":"HTTP\/1.0 503 Service Unavailable\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text\/html\r\n\r\n<html><body><h1>503 Service Unavailable<\/h1>\nHello World! We are currently experiencing technical difficulties. No server is available to handle this request.\n<\/body><\/html>\n\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"6929a9c823afc4f27a06aaf36c099b952405d1b1","subject":"Updated haproxy sorre page with new status url","message":"Updated haproxy sorre page with new status url\n","repos":"norcams\/himlar,tanzr\/himlar,mikaeld66\/himlar,eckhart\/himlar,norcams\/himlar,tanzr\/himlar,tanzr\/himlar,TorLdre\/himlar,raykrist\/himlar,raykrist\/himlar,raykrist\/himlar,mikaeld66\/himlar,norcams\/himlar,raykrist\/himlar,mikaeld66\/himlar,norcams\/himlar,eckhart\/himlar,TorLdre\/himlar,eckhart\/himlar,TorLdre\/himlar,TorLdre\/himlar,mikaeld66\/himlar,raykrist\/himlar,eckhart\/himlar,tanzr\/himlar,mikaeld66\/himlar,TorLdre\/himlar,norcams\/himlar,tanzr\/himlar","old_file":"profile\/files\/loadbalancing\/haproxy.sorry.http","new_file":"profile\/files\/loadbalancing\/haproxy.sorry.http","new_contents":"HTTP\/1.0 503 Service Unavailable\nCache-Control: no-cache\nConnection: close\nContent-Type: text\/html\n\n\n<html>\n<body>\n<h1>Be Right Back<\/h1>\nSorry, we're down at the moment\n<br>\n<a href=\"https:\/\/status.uh-iaas.no\">https:\/\/status.uh-iaas.no<\/a>\n<\/body>\n<\/html>\n","old_contents":"HTTP\/1.0 503 Service Unavailable\nCache-Control: no-cache\nConnection: close\nContent-Type: text\/html\n\n\n<html>\n<body>\n<h1>Be Right Back<\/h1>\nSorry, we're down at the moment\n<br>\n<a href=\"http:\/\/status.iaas.uib.no\">http:\/\/status.iaas.uib.no<\/a>\n<\/body>\n<\/html>\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"326227c666cbc369166ae4607e05b82a6180017a","subject":"Update regressions.http","message":"Update regressions.http\n","repos":"Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand","old_file":"docs\/examples\/regressions.http","new_file":"docs\/examples\/regressions.http","new_contents":"\nPOST \/test\/schemas\/duplicated_uuid_field\/\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"<uuid_field>\": {\n\t\t\t\t\"_type\": \"keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"~3pZyPcFqGq\": \"A\",\n\t\"00000000-0000-1000-8000-c97562616c75\": \"B\",\n\t\"urn:uuid:00000000-0000-1000-8000-c97562616c75\": \"C\",\n\t\"{00000000-0000-1000-8000-c97562616c75}\": \"D\",\n}\n###\nGET \/test\/duplicated_uuid_field\/._schema\n###\n\n\nPOST \/test\/array\/\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"types\": {\n\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"types\": [\n\t\t\"A\", \"B\", \"C\", \"D\",\n\t\t\"E\", \"F\", \"G\", \"H\"\n\t]\n}\n###\nGET \/test\/array\/._schema\n###\n\n\nPOST \/test\/array_of_arrays\/\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"types\": {\n\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"types\": [\n [ \"A\", \"B\", \"C\", \"D\" ],\n [ \"E\", \"F\", \"G\", \"H\" ]\n\t]\n}\n###\nGET \/test\/array_of_arrays\/._schema\n###\n\n\nPOST \/test\/array_of_arrays_of_arrays\/\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"types\": {\n\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"types\": [\n [ [ \"A\", \"B\" ], [ \"C\", \"D\" ] ],\n [ [ \"E\", \"F\" ], [ \"G\", \"H\" ] ]\n\t]\n}\n###\nGET \/test\/array_of_arrays_of_arrays\/._schema\n###\n\n\nPUT \/test\/merges\/german\n\n{\n\t\"name\": \"German M. Bravo\",\n\t\"age\": 39,\n\t\"gender\": \"M\"\n}\n###\nUPDATE \/test\/merges\/german\n\n{\n\t\"name\": \"German Mendez Bravo\"\n}\n###\nGET \/test\/merges\/._schema\n###\n\n\n\nPUT \/test\/accuracy\/all\n\n{\n\t\"point\": {\n\t\t\"_point\": {\n\t\t\t\"_latitude\": 19.32,\n\t\t\t\"_longitude\": 99.55\n\t\t},\n\t\t\"_accuracy\": [10, 15]\n\t},\n\t\"date\": {\n\t\t\"_date\": {\n\t\t\t\"_year\": 2016,\n\t\t\t\"_month\": 10,\n\t\t\t\"_day\": 25,\n\t\t},\n\t\t\"_accuracy\": [3600, \"century\"]\n\t},\n}\n###\nGET \/test\/accuracy\/._schema\n###\n\n\n\nPUT \/test\/keyword_id\/1\n\n{\n\t\"_id\": {\n\t\t\"_type\": \"keyword\"\n\t},\n\t\"test\": \"Test 1\"\n}\n###\nPUT \/test\/keyword_id\/2\n\n{\n\t\"test\": \"Test 2\"\n}\n###\nGET \/test\/keyword_id\/._schema\n###\n","old_contents":"\nPOST \/test\/schemas\/duplicated_uuid_field\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"<uuid_field>\": {\n\t\t\t\t\"_type\": \"keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"~3pZyPcFqGq\": \"A\",\n\t\"00000000-0000-1000-8000-c97562616c75\": \"B\",\n\t\"urn:uuid:00000000-0000-1000-8000-c97562616c75\": \"C\",\n\t\"{00000000-0000-1000-8000-c97562616c75}\": \"D\",\n}\n###\nGET \/test\/duplicated_uuid_field\/:schema\n###\n\n\nPOST \/test\/duplicated_array_field\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"types\": {\n\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"types\": [\n\t\t\"A\",\n\t\t\"B\",\n\t\t\"C\",\n\t\t\"D\"\n\t]\n}\n###\nGET \/test\/duplicated_array_field\/:schema\n###\n\n\n\nPUT \/test\/merges\/german\n\n{\n\t\"name\": \"German M. Bravo\",\n\t\"age\": 39,\n\t\"gender\": \"M\"\n}\n###\nUPDATE \/test\/merges\/german\n\n{\n\t\"name\": \"German Mendez Bravo\"\n}\n###\nGET \/test\/merges\/:schema\n###\n\n\n\nPUT \/test\/accuracy\/all\n\n{\n\t\"point\": {\n\t\t\"_point\": {\n\t\t\t\"_latitude\": 19.32,\n\t\t\t\"_longitude\": 99.55\n\t\t},\n\t\t\"_accuracy\": [10, 15]\n\t},\n\t\"date\": {\n\t\t\"_date\": {\n\t\t\t\"_year\": 2016,\n\t\t\t\"_month\": 10,\n\t\t\t\"_day\": 25,\n\t\t},\n\t\t\"_accuracy\": [3600, \"century\"]\n\t},\n}\n###\nGET \/test\/accuracy\/:schema\n###\n\n\n\nPUT \/test\/keyword_id\/1\n\n{\n \"_id\": {\n \"_type\": \"keyword\"\n },\n \"test\": \"Test 1\"\n}\n###\nPUT \/test\/keyword_id\/2\n\n{\n \"test\": \"Test 2\"\n}\n###\nGET \/test\/keyword_id\/:schema\n###\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"a5e626d15e9ac6dad860ce1ede44e3842292997e","subject":"This endpoint returns 201","message":"This endpoint returns 201\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/files\/nameservers\/register\/success.http","new_file":"spec\/files\/nameservers\/register\/success.http","new_contents":"HTTP\/1.1 201 Created\r\nServer: nginx\r\nDate: Mon, 22 Dec 2014 18:11:05 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: close\r\nStatus: 201 Created\r\nStrict-Transport-Security: max-age=631138519\r\nX-Frame-Options: SAMEORIGIN\r\nX-XSS-Protection: 1\r\nX-Content-Type-Options: nosniff\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with\r\nAccess-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS\r\nETag: \"0ebdecabeb62d0e8012597d52ad14e43\"\r\nCache-Control: max-age=0, private, must-revalidate\r\nX-Request-Id: 21d3a8e9-a6e6-4bc9-9f5a-92dfd6680f45\r\nX-Runtime: 2.111712\r\nStrict-Transport-Security: max-age=315360000\r\n\r\n{\"name\":\"ns1.example-1417880719.com\",\"ip\":\"198.241.10.53\"}","old_contents":"HTTP\/1.1 200 OK\r\nServer: nginx\r\nDate: Mon, 22 Dec 2014 18:11:05 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: close\r\nStatus: 200 OK\r\nStrict-Transport-Security: max-age=631138519\r\nX-Frame-Options: SAMEORIGIN\r\nX-XSS-Protection: 1\r\nX-Content-Type-Options: nosniff\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with\r\nAccess-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS\r\nETag: \"0ebdecabeb62d0e8012597d52ad14e43\"\r\nCache-Control: max-age=0, private, must-revalidate\r\nX-Request-Id: 21d3a8e9-a6e6-4bc9-9f5a-92dfd6680f45\r\nX-Runtime: 2.111712\r\nStrict-Transport-Security: max-age=315360000\r\n\r\n{\"name\":\"ns1.example-1417880719.com\",\"ip\":\"198.241.10.53\"}","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"ad143b4e757d06aeff6ad942c1b109440412760a","subject":"Add comma","message":"Add comma\n","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/07_resources\/preauthorization\/03_confirm_a_new_preauthorization\/code\/example.http","new_file":"source\/docs\/07_resources\/preauthorization\/03_confirm_a_new_preauthorization\/code\/example.http","new_contents":"POST https:\/\/gocardless.com\/api\/v1\/confirm HTTP\/1.1\n{\n \"resource_id\": \"1234ABCD\",\n \"resource_type\": \"pre_authorization\"\n}\n\nHTTP\/1.1 200 OK\n{\n \"currency\": \"GBP\",\n \"created_at\": \"2014-08-20T21:41:25Z\",\n \"expires_at\": \"2016-08-20T21:41:25Z\",\n \"id\": \"1234ABCD\",\n \"name\": \"Computer support invoices\",\n \"description\": \"GoCardless magazine\",\n \"max_amount\": \"750.00\",\n \"setup_fee\": \"10.00\",\n \"remaining_amount\": \"750.00\",\n \"interval_unit\": \"month\",\n \"interval_length\": \"1\",\n \"status\": \"active\",\n \"next_interval_start\": \"2014-09-20T00:00:00Z\",\n \"merchant_id\": \"06Z06JWQW1\",\n \"user_id\": \"FIVWCCVEST6S4D\",\n \"uri\": \"https:\/\/gocardless.com\/api\/v1\/pre-authorisations\/1234ABCD\"\n}\n","old_contents":"POST https:\/\/gocardless.com\/api\/v1\/confirm HTTP\/1.1\n{\n \"resource_id\": \"1234ABCD\",\n \"resource_type\": \"pre_authorization\"\n}\n\nHTTP\/1.1 200 OK\n{\n \"currency\": \"GBP\",\n \"created_at\": \"2014-08-20T21:41:25Z\",\n \"expires_at\": \"2016-08-20T21:41:25Z\",\n \"id\": \"1234ABCD\",\n \"name\": \"Computer support invoices\",\n \"description\": \"GoCardless magazine\",\n \"max_amount\": \"750.00\",\n \"setup_fee\": \"10.00\",\n \"remaining_amount\": \"750.00\"\n \"interval_unit\": \"month\",\n \"interval_length\": \"1\",\n \"status\": \"active\",\n \"next_interval_start\": \"2014-09-20T00:00:00Z\",\n \"merchant_id\": \"06Z06JWQW1\",\n \"user_id\": \"FIVWCCVEST6S4D\",\n \"uri\": \"https:\/\/gocardless.com\/api\/v1\/pre-authorisations\/1234ABCD\"\n}\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"7b26a7a80c8a87a4de85e081dd8698320c02ba58","subject":"Remove appveyor and add some initial migration scripts for dev","message":"Remove appveyor and add some initial migration scripts for dev\n","repos":"exceptionless\/Exceptionless,exceptionless\/Exceptionless,exceptionless\/Exceptionless,exceptionless\/Exceptionless","old_file":"k8s\/ex-dev-es-tasks.http","new_file":"k8s\/ex-dev-es-tasks.http","new_contents":"@apiUrl = http:\/\/elastic:{{elasticPassword}}@kibana-ex-dev.localtest.me:9200\/\n\nGET {{apiUrl}}_cat\/indices\/dev-*?v\n\n###\n\nGET {{apiUrl}}_snapshot\/prod-organizations\/_all\n\n###\n\nGET {{apiUrl}}_snapshot\/prod-stacks\/_all\n\n###\n\nGET {{apiUrl}}_snapshot\/prod-events\/_all\n\n###\n\nPOST {{apiUrl}}dev-*\/_close\n\n###\n\nPOST {{apiUrl}}_snapshot\/prod-stacks\/prod-stacks-2020-03-28-18-40\/_restore\nContent-Type: application\/json\n\n{\n \"include_global_state\": true,\n \"rename_pattern\": \"prod-(.+)\",\n \"rename_replacement\": \"dev-$1\"\n}\n\n###\n\nPOST {{apiUrl}}_snapshot\/prod-organizations\/prod-organizations-2020-03-28-18-30\/_restore\nContent-Type: application\/json\n\n{\n \"include_global_state\": true,\n \"rename_pattern\": \"prod-(.+)\",\n \"rename_replacement\": \"dev-$1\"\n}\n\n###\n\nPOST {{apiUrl}}_snapshot\/prod-events\/prod-events-2020-03-28-12-00\/_restore\nContent-Type: application\/json\n\n{\n \"indices\": \"prod-events-v2-2020.03.2*\",\n \"include_global_state\": true,\n \"rename_pattern\": \"prod-(.+)\",\n \"rename_replacement\": \"dev-$1\"\n}\n\n###\n\nPUT {{apiUrl}}dev-*\/_settings\nContent-Type: application\/json\n\n{\n \"index\" : {\n \"number_of_replicas\" : 0\n }\n}\n\n###\n\nPUT {{apiUrl}}dev-stacks-v1\/_mapping\n{\n \"properties\": {\n \"status\": {\n \"type\": \"keyword\"\n },\n \"snooze_until_utc\": {\n \"type\": \"date\"\n }\n }\n}\n\n###\n\nPOST {{apiUrl}}dev-stacks-v1\/_update_by_query\n{\n \"script\": {\n \"source\": \"if (ctx._source.is_regressed == true) ctx._source.status = 'regressed'; else if (ctx._source.is_hidden == true) ctx._source.status = 'ignored'; else if (ctx._source.disable_notifications == true) ctx._source.status = 'ignored'; else ctx._source.status = 'open';\",\n \"lang\": \"painless\"\n }\n}","old_contents":"@apiUrl = http:\/\/elastic:{{elasticPassword}}@kibana-ex-dev.localtest.me:9200\/\n\nGET {{apiUrl}}_cat\/indices\/dev-*?v\n\n###\n\nGET {{apiUrl}}_snapshot\/prod-organizations\/_all\n\n###\n\nGET {{apiUrl}}_snapshot\/prod-stacks\/_all\n\n###\n\nGET {{apiUrl}}_snapshot\/prod-events\/_all\n\n###\n\nPOST {{apiUrl}}dev-*\/_close\n\n###\n\nPOST {{apiUrl}}_snapshot\/prod-stacks\/prod-stacks-2020-03-28-18-40\/_restore\nContent-Type: application\/json\n\n{\n \"include_global_state\": true,\n \"rename_pattern\": \"prod-(.+)\",\n \"rename_replacement\": \"dev-$1\"\n}\n\n###\n\nPOST {{apiUrl}}_snapshot\/prod-organizations\/prod-organizations-2020-03-28-18-30\/_restore\nContent-Type: application\/json\n\n{\n \"include_global_state\": true,\n \"rename_pattern\": \"prod-(.+)\",\n \"rename_replacement\": \"dev-$1\"\n}\n\n###\n\nPOST {{apiUrl}}_snapshot\/prod-events\/prod-events-2020-03-28-12-00\/_restore\nContent-Type: application\/json\n\n{\n \"indices\": \"prod-events-v2-2020.03.2*\",\n \"include_global_state\": true,\n \"rename_pattern\": \"prod-(.+)\",\n \"rename_replacement\": \"dev-$1\"\n}\n\n###\n\nPUT {{apiUrl}}dev-*\/_settings\nContent-Type: application\/json\n\n{\n \"index\" : {\n \"number_of_replicas\" : 0\n }\n}","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"b742859f17d5f7e5db24f0cf1b273136a8de5818","subject":"Update printer name in 503 page and update msg","message":"Update printer name in 503 page and update msg","repos":"madhuni\/AstroBox,madhuni\/AstroBox,madhuni\/AstroBox,madhuni\/AstroBox","old_file":"files\/503.http","new_file":"files\/503.http","new_contents":"HTTP\/1.0 503 Service Unavailable\nCache-Control: no-cache\nConnection: close\nContent-Type: text\/html\n\n<!DOCTYPE html>\n<html>\n<head>\n\t<title>Etherbox is booting up<\/title>\n\t<link href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto\" rel=\"stylesheet\">\n\t<style>\n\t\t* {\n\t\t\t-webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\t\t}\n\t\t\n\t\tbody {\n\t\t\tmargin: 0;\n\t\t\tfont-family: 'Open Sans', sans-serif;\n\t\t\tmargin: 0px !important;\n\t\t}\n\n\t\t#booting-panel {\n\t\t\twidth: 800px;\n\t\t\theight: 480px;\n\t\t\tbackground-color: rgba(0, 0, 0, 0.9);\n\t\t\ttext-align: center;\n\t\t\tposition: relative;\n\t\t\tmargin: 0 auto;\n\t\t}\n\n\t\t.booting-panel__content-box {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t left: 50%;\n\t\t transform: translate(-50%, -50%);\n\t\t width: 600px;\n\t\t border-radius: 10px;\n\t\t background-color: white;\n\t\t padding: 20px;\n\t\t}\n\n\t\t.reload-btn {\n\t\t\tfont-size: 20px;\n\t border-radius: 5px;\n\t width: 240px;\n\t height: 48px;\n\t text-align: center;\n\t margin: 15px auto;\n\t background-color: #BBB;\n\t border: 0;\n\t text-transform: uppercase;\n\t\t}\n\n\t\th1 {\n\t\t\tfont-size: 30px;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t\th2 {\n\t\t\tfont-size: 22px;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t<\/style>\n<\/head>\n<body>\n\t<div id=\"booting-panel\">\n\t\t<div class=\"booting-panel__content-box\">\n\t\t\t<h1>Ethereal Estrella is still booting up.<\/h1>\n\t\t\t<hr>\n\t\t\t<h2>Please hit the button below to reconnect.<\/h2>\n\t\t\t<button class=\"reload-btn\" onclick=\"location.reload()\">Reconnect<\/button>\n\t\t<\/div>\n\t<\/div>\n<\/body>\n<\/html>\n","old_contents":"HTTP\/1.0 503 Service Unavailable\nCache-Control: no-cache\nConnection: close\nContent-Type: text\/html\n\n<!DOCTYPE html>\n<html>\n<head>\n\t<title>Etherbox is booting up<\/title>\n\t<link href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto\" rel=\"stylesheet\">\n\t<style>\n\t\t* {\n\t\t\t-webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\t\t}\n\t\t\n\t\tbody {\n\t\t\tmargin: 0;\n\t\t\tfont-family: 'Open Sans', sans-serif;\n\t\t\tmargin: 0px !important;\n\t\t}\n\n\t\t#booting-panel {\n\t\t\twidth: 800px;\n\t\t\theight: 480px;\n\t\t\tbackground-color: rgba(0, 0, 0, 0.9);\n\t\t\ttext-align: center;\n\t\t\tposition: relative;\n\t\t\tmargin: 0 auto;\n\t\t}\n\n\t\t.booting-panel__content-box {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t left: 50%;\n\t\t transform: translate(-50%, -50%);\n\t\t width: 600px;\n\t\t border-radius: 10px;\n\t\t background-color: white;\n\t\t padding: 20px;\n\t\t}\n\n\t\t.reload-btn {\n\t\t\tfont-size: 20px;\n\t border-radius: 5px;\n\t width: 240px;\n\t height: 48px;\n\t text-align: center;\n\t margin: 15px auto;\n\t background-color: #BBB;\n\t border: 0;\n\t text-transform: uppercase;\n\t\t}\n\n\t\th1 {\n\t\t\tfont-size: 30px;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t\th2 {\n\t\t\tfont-size: 22px;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t<\/style>\n<\/head>\n<body>\n\t<div id=\"booting-panel\">\n\t\t<div class=\"booting-panel__content-box\">\n\t\t\t<h1>Your ETHERBOX is still booting up.<\/h1>\n\t\t\t<hr>\n\t\t\t<h2>Please hit the button below to reload the page.<\/h2>\n\t\t\t<button class=\"reload-btn\" onclick=\"location.reload()\">Reconnect<\/button>\n\t\t<\/div>\n\t<\/div>\n<\/body>\n<\/html>\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"09b1d5df06db572483ae2cbaab07618e43dba7a6","subject":"doc: http: modify rewrite rule to prevent flooding error log","message":"doc: http: modify rewrite rule to prevent flooding error log\n\ndo not apply RewriteRule to internal subrequests.\n\nChange-Id: Iee7c480b4c4d69e3619d5fde738f21a49d8b1e0f\nSigned-off-by: Ondra Machacek <e60c747dda196805269ffcf3f8efbe65520b6f6b@redhat.com>\n","repos":"oVirt\/ovirt-engine-extension-aaa-misc,oVirt\/ovirt-engine-extension-aaa-misc","old_file":"README.http","new_file":"README.http","new_contents":"Authentication Based on HttpServletRequest\n==========================================\n\nThis extension provides ability to authenticate using information stored\nin HttpServletRequest. It is useful when web SSO is used.\n\nCONFIGURATION\n-------------\n\n\/etc\/ovirt-engine\/extensions.d\/http-authn.properties\n\novirt.engine.extension.name = @NAME@\novirt.engine.extension.bindings.method = jbossmodule\novirt.engine.extension.binding.jbossmodule.module = org.ovirt.engine-extensions.aaa.misc\novirt.engine.extension.binding.jbossmodule.class = org.ovirt.engineextensions.aaa.misc.http.AuthnExtension\novirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authn\novirt.engine.aaa.authn.profile.name = @PROFILE_NAME@\novirt.engine.aaa.authn.authz.plugin = @AUTHZ_NAME@\nconfig.artifact.name = @ARTIFACT@\nconfig.artifact.arg = @ARTIFACT_ARG@\n\n@NAME@\n Extension instance name.\n@PROFILE_NAME@\n Authentication profile name.\n@AUTHZ_NAME@\n Authorization extension name.\n@ARTIFACT@\n PRINCIPAL\n principal = request.getUserPrincipal().getName()\n REMOTE_USER\n principal = request.getRemoteUser()\n HEADER\n principal = request.getHeader(@ARTIFACT_ARG@)\n ATTRIBUTE\n principal = request.getAttribute(@ARTIFACT_ARG@)\n ENVIRONMENT\n principal = System.getenv(@ARTIFACT_ARG@)\n\nNOTES\n-----\n\nDue to accomulative bugs within JBoss HTTP connector, the principal is\nnot always accepted by JBoss. A workaround is to use headers instead\nusing mod_rewrite.\n\nExample:\n\n <LocationMatch ^(\/ovirt-engine\/(webadmin|userportal|api)|\/api)>\n RewriteEngine on\n RewriteCond %{LA-U:REMOTE_USER} ^(.*)$\n RewriteRule ^(.*)$ - [L,NS,P,E=REMOTE_USER:%1]\n RequestHeader set X-Remote-User %{REMOTE_USER}s\n <\/LocationMatch>\n","old_contents":"Authentication Based on HttpServletRequest\n==========================================\n\nThis extension provides ability to authenticate using information stored\nin HttpServletRequest. It is useful when web SSO is used.\n\nCONFIGURATION\n-------------\n\n\/etc\/ovirt-engine\/extensions.d\/http-authn.properties\n\novirt.engine.extension.name = @NAME@\novirt.engine.extension.bindings.method = jbossmodule\novirt.engine.extension.binding.jbossmodule.module = org.ovirt.engine-extensions.aaa.misc\novirt.engine.extension.binding.jbossmodule.class = org.ovirt.engineextensions.aaa.misc.http.AuthnExtension\novirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authn\novirt.engine.aaa.authn.profile.name = @PROFILE_NAME@\novirt.engine.aaa.authn.authz.plugin = @AUTHZ_NAME@\nconfig.artifact.name = @ARTIFACT@\nconfig.artifact.arg = @ARTIFACT_ARG@\n\n@NAME@\n Extension instance name.\n@PROFILE_NAME@\n Authentication profile name.\n@AUTHZ_NAME@\n Authorization extension name.\n@ARTIFACT@\n PRINCIPAL\n principal = request.getUserPrincipal().getName()\n REMOTE_USER\n principal = request.getRemoteUser()\n HEADER\n principal = request.getHeader(@ARTIFACT_ARG@)\n ATTRIBUTE\n principal = request.getAttribute(@ARTIFACT_ARG@)\n ENVIRONMENT\n principal = System.getenv(@ARTIFACT_ARG@)\n\nNOTES\n-----\n\nDue to accomulative bugs within JBoss HTTP connector, the principal is\nnot always accepted by JBoss. A workaround is to use headers instead\nusing mod_rewrite.\n\nExample:\n\n <LocationMatch ^(\/ovirt-engine\/(webadmin|userportal|api)|\/api)>\n RewriteEngine on\n RewriteCond %{LA-U:REMOTE_USER} ^(.*)$\n RewriteRule ^(.*)$ - [L,P,E=REMOTE_USER:%1]\n RequestHeader set X-Remote-User %{REMOTE_USER}s\n <\/LocationMatch>\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"d790eeb0c526fbd2b45aaf90a5ea10c4c412068c","subject":"Adjust for live v3 admin api's","message":"Adjust for live v3 admin api's\n","repos":"TotallyInformation\/node-red-contrib-uibuilder,TotallyInformation\/node-red-contrib-uibuilder","old_file":"tests\/newapi.http","new_file":"tests\/newapi.http","new_contents":"\/\/ Test uibuilder v3 admin API routes\n\/\/\n\/\/ Using REST Client extension https:\/\/github.com\/Huachao\/vscode-restclient#rest-client\n\n\/\/ File variables\n@hostname = localhost\n@port = 1880\n@host = {{hostname}}:{{port}}\n@redAdminPath = red\/\n@uibAdminPath = uib\n@contentType = application\/json\n@createdAt = {{$datetime iso8601}}\n\n# @name Sample-Get\n# Get something and return it\nGET http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/uib?ping=pong\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample GET\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Put\n# Write file contents\nPUT http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/uib\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample PUT\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Post\n# Create a new folder or file\nPOST http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/uib\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Delete\n# Delete a folder or a file\nDELETE http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/uib\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n\n\/\/ NOTES:\n\/\/ - can send a file: `< filename.json` or (for processing variables): `<@ filename.json`\n\/\/ - ExpressJS supported methods are here: https:\/\/expressjs.com\/en\/4x\/api.html#app.METHOD","old_contents":"\/\/ Test uibuilder v3 admin API routes\n\/\/\n\/\/ Using REST Client extension https:\/\/github.com\/Huachao\/vscode-restclient#rest-client\n\n\/\/ File variables\n@hostname = localhost\n@port = 1880\n@host = {{hostname}}:{{port}}\n@redAdminPath = red\/\n@uibAdminPath = uib\n@contentType = application\/json\n@createdAt = {{$datetime iso8601}}\n\n# @name Sample-Get\n# Get something and return it\nGET http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/ping?url=uib&ping=pong\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample GET\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Put\n# Write file contents\nPUT http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/ping?url=uib\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample PUT\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Post\n# Create a new folder or file\nPOST http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/ping?url=uib\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Delete\n# Delete a folder or a file\nDELETE http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/ping?url=uib\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n\n\/\/ NOTES:\n\/\/ - can send a file: `< filename.json` or (for processing variables): `<@ filename.json`\n\/\/ - ExpressJS supported methods are here: https:\/\/expressjs.com\/en\/4x\/api.html#app.METHOD","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"2e2d2d14c968a7b7c5472eeddbd05bf72060d923","subject":"clean","message":"clean\n","repos":"jagilber\/powershellScripts,jagilber\/powershellScripts","old_file":"REST.http","new_file":"REST.http","new_contents":"\n##\n# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n##\n\n##\n#\n# cert setup. place in vscode 'setttings.json'\n#\"rest-client.certificates\": {\n# \"%fqdn%: {\n# \"pfx\": \"%path to pfx file%\",\n# \"passphrase\": \"\"\n# }\n# },\n##\n\n##\n# azure aadv1 setup\n#\n# \"rest-client.environmentVariables\": {\n# \"$shared\": {\n# \"subscriptionId\": \"\",\n# \"tenantId\": \"\"\n# }\n# }\n##\n\n# ip info\nhttps:\/\/ipinfo.io\/json\n###\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n###\nGET https:\/\/api.github.com\/repos\/microsoft\/CollectServiceFabricData\/releases\/latest\n\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n@downloads = {{repoQuery.response.body.$.downloads_url}}\nGET {{downloads}}\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n###\n\n###\n# convert google news to text\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/news.google.com \n###\n\n# nuget api test\n@id = https:\/\/azuresearch-usnc.nuget.org\/query\n@QUERY = Microsoft.ServiceFabric.CollectSFData\n@SKIP = 0\n@TAKE = 10\n@PRERELEASE = false\n#@SEMVERLEVEL = {{}}\n#@PACKAGETYPE = {{}}\nGET {{id}}?q={{QUERY}}&skip={{SKIP}}&take={{TAKE}}&prerelease={{PRERELEASE}}\n#&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}\n\n###\nGET https:\/\/www.w3.org\/services\/html2txt?url=https:\/\/devblogs.microsoft.com\/powershell\/arm-dsc-extension-settings\/\n###\n\n\n###\n@cluster = sfcluster\n@location = eastus\n@apiversion = 6.4\n@managementPort = 19080\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/BackupRestore\/BackupPolicies?api-version={{apiversion}}\n\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/Applications\/?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/GetClusterManifest?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/$\/GetClusterHealth?api-version={{apiversion}}\nGET https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/Explorer\n###\n\n###\n@storageAccountName = \n@tableSasToken = \n@storageObjectToQuery = \nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}\n###\n\n###\n# arm query\n@query =\n@apiversion = 2021-01-01\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp query api list\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-operations_list\n@query = providers\/Microsoft.ServiceFabric\/operations\n@apiversion = 2018-02-01\n\nGET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n#GET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp get cluster\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-clusters_get\n\n@query = providers\/Microsoft.ServiceFabric\/clusters\/{{clusterName}}\n@apiversion = 2018-02-01\n@resourceGroupName = sfcluster\n@clusterName = {{resourceGroupName}}\n\n#GET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/resourceGroups\/{{resourceGroupName}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n\n###\n\nPUT http:\/\/localhost:8080\/api\/Votes\/dfff\n###\n\nGET http:\/\/localhost:8080\n###\n\nGET http:\/\/localhost:8080\/api\/Votes?c={{$timestamp}}\n###\n\nPUT http:\/\/localhost:19081\/Voting\/VotingData\/api\/VoteData\/ddddd?PartitionKey=3&PartitionKind=Int64Range\n###\n\nPUT http:\/\/localhost:19964\/Voting\/VotingData\/api\/VoteData\/ddddd?PartitionKey=3&PartitionKind=Int64Range","old_contents":"\n##\n# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n##\n\n##\n#\n# cert setup. place in vscode 'setttings.json'\n#\"rest-client.certificates\": {\n# \"%fqdn%: {\n# \"pfx\": \"%path to pfx file%\",\n# \"passphrase\": \"\"\n# }\n# },\n##\n\n##\n# azure aadv1 setup\n#\n# \"rest-client.environmentVariables\": {\n# \"$shared\": {\n# \"subscriptionId\": \"\",\n# \"tenantId\": \"\"\n# }\n##\n\n# ip info\nhttps:\/\/ipinfo.io\/json\n###\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n###\nGET https:\/\/api.github.com\/repos\/microsoft\/CollectServiceFabricData\/releases\/latest\n\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n@downloads = {{repoQuery.response.body.$.downloads_url}}\nGET {{downloads}}\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n###\n\n###\n# convert google news to text\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/news.google.com \n###\n\n# nuget api test\n@id = https:\/\/azuresearch-usnc.nuget.org\/query\n@QUERY = Microsoft.ServiceFabric.CollectSFData\n@SKIP = 0\n@TAKE = 10\n@PRERELEASE = false\n#@SEMVERLEVEL = {{}}\n#@PACKAGETYPE = {{}}\nGET {{id}}?q={{QUERY}}&skip={{SKIP}}&take={{TAKE}}&prerelease={{PRERELEASE}}\n#&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}\n\n###\nGET https:\/\/www.w3.org\/services\/html2txt?url=https:\/\/devblogs.microsoft.com\/powershell\/arm-dsc-extension-settings\/\n###\n\n\n###\n@cluster = sfcluster\n@location = eastus\n@apiversion = 6.4\n@managementPort = 19080\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/BackupRestore\/BackupPolicies?api-version={{apiversion}}\n\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/Applications\/?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/GetClusterManifest?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/$\/GetClusterHealth?api-version={{apiversion}}\nGET https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/Explorer\n###\n\n###\n@storageAccountName = sflogsbmnjfzoagi7jc2\n@tableSasToken = ?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacupx&se=2021-03-25T10:16:34Z&st=2021-03-25T02:16:34Z&spr=https&sig=DEIyaWBlIKe0Nru1ubEbb6u5t787LwoqQ5UVWgxMoJQ%3D\n@storageObjectToQuery = fabriclog8de7b13a4137454a9ad5a356fa0c3159Api\nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}\n###\n\n###\n# arm query\n@query =\n@apiversion = 2021-01-01\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp query api list\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-operations_list\n@query = providers\/Microsoft.ServiceFabric\/operations\n@apiversion = 2018-02-01\n\nGET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n#GET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp get cluster\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-clusters_get\n\n@query = providers\/Microsoft.ServiceFabric\/clusters\/{{clusterName}}\n@apiversion = 2018-02-01\n@resourceGroupName = sfcluster\n@clusterName = {{resourceGroupName}}\n\n#GET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/resourceGroups\/{{resourceGroupName}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n\n###\n\nPUT http:\/\/localhost:8080\/api\/Votes\/dfff\n###\n\nGET http:\/\/localhost:8080\n###\n\nGET http:\/\/localhost:8080\/api\/Votes?c={{$timestamp}}\n###\n\nPUT http:\/\/localhost:19081\/Voting\/VotingData\/api\/VoteData\/ddddd?PartitionKey=3&PartitionKind=Int64Range\n###\n\nPUT http:\/\/localhost:19964\/Voting\/VotingData\/api\/VoteData\/ddddd?PartitionKey=3&PartitionKind=Int64Range","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"aae0cd7077fea3994a4e4877632bd5645351a3d5","subject":"Added rest client calls for real backend","message":"Added rest client calls for real backend\n","repos":"jasoncabot\/gardenpath,jasoncabot\/gardenpath,jasoncabot\/gardenpath","old_file":"backend\/test\/client.http","new_file":"backend\/test\/client.http","new_contents":"@user1 = 9cda3624-54a9-4c08-8d29-c9d9fe585995\n@user2 = 3e24bce7-48a4-4103-9a8f-179b38ddb41c\n@createdGameId = bfec4e8f-1946-4d80-b210-8cd4c6391d0c\n\n@host = http:\/\/localhost:8080\n# @host = https:\/\/gardenpathapi.jasoncabot.me\n\n### Create game\n\nPOST {{host}}\/games\nContent-Type: application\/json\nAuthorization: Bearer {{user1}}\n\n{\n \"name\": \"Player 1\",\n \"numberOfPlayers\": 2\n}\n\n### Player 2 - Join Game\n\nPOST {{host}}\/games\/{{createdGameId}}\/players\nContent-Type: application\/json\nAuthorization: Bearer {{user2}}\n\n{\n \"name\": \"Player 2\"\n}\n\n### Start Game as Player 1\n\nPOST {{host}}\/games\/{{createdGameId}}\/turn\nContent-Type: application\/json\nAuthorization: Bearer {{user1}}\n\n### Start Game as Player 2\n\nPOST {{host}}\/games\/{{createdGameId}}\/turn\nContent-Type: application\/json\nAuthorization: Bearer {{user2}}\n\n### Move as Player 1\n\nPOST {{host}}\/games\/{{createdGameId}}\/move\nContent-Type: application\/json\nAuthorization: Bearer {{user1}}\n\n{\n \"position\": 4\n}\n\n### Move as Player 2\n\nPOST {{host}}\/games\/{{createdGameId}}\/move\nContent-Type: application\/json\nAuthorization: Bearer {{user2}}\n\n{\n \"position\": 25\n}\n\n### Fence as Player 1\n\nPOST {{host}}\/games\/{{createdGameId}}\/fence\nContent-Type: application\/json\nAuthorization: Bearer {{user1}}\n\n{\n \"start\": 31,\n \"end\": 33\n}\n\n### Fence as Player 2\n\nPOST {{host}}\/games\/{{createdGameId}}\/fence\nContent-Type: application\/json\nAuthorization: Bearer {{user2}}\n\n{\n \"start\": 33,\n \"end\": 35\n}\n\n### View Game as Player 1\n\nGET {{host}}\/games\/{{createdGameId}}\nContent-Type: application\/json\nAuthorization: Bearer {{user1}}\n\n\n### View Game as Player 2\n\nGET {{host}}\/games\/{{createdGameId}}\nContent-Type: application\/json\nAuthorization: Bearer {{user2}}\n","old_contents":"@user1 = 9cda3624-54a9-4c08-8d29-c9d9fe585995\n@user2 = 3e24bce7-48a4-4103-9a8f-179b38ddb41c\n@createdGameId = bfec4e8f-1946-4d80-b210-8cd4c6391d0c\n\n### Create game\n\nPOST http:\/\/localhost:8080\/games\nContent-Type: application\/json\nAuthorization: Bearer {{user1}}\n\n{\n \"name\": \"Player 1\",\n \"numberOfPlayers\": 2\n}\n\n### Player 2 - Join Game\n\nPOST http:\/\/localhost:8080\/games\/{{createdGameId}}\/players\nContent-Type: application\/json\nAuthorization: Bearer {{user2}}\n\n{\n \"name\": \"Player 2\"\n}\n\n### Start Game as Player 1\n\nPOST http:\/\/localhost:8080\/games\/{{createdGameId}}\/turn\nContent-Type: application\/json\nAuthorization: Bearer {{user1}}\n\n### Start Game as Player 2\n\nPOST http:\/\/localhost:8080\/games\/{{createdGameId}}\/turn\nContent-Type: application\/json\nAuthorization: Bearer {{user2}}\n\n### Move as Player 1\n\nPOST http:\/\/localhost:8080\/games\/{{createdGameId}}\/move\nContent-Type: application\/json\nAuthorization: Bearer {{user1}}\n\n{\n \"position\": 4\n}\n\n### Move as Player 2\n\nPOST http:\/\/localhost:8080\/games\/{{createdGameId}}\/move\nContent-Type: application\/json\nAuthorization: Bearer {{user2}}\n\n{\n \"position\": 25\n}\n\n### Fence as Player 1\n\nPOST http:\/\/localhost:8080\/games\/{{createdGameId}}\/fence\nContent-Type: application\/json\nAuthorization: Bearer {{user1}}\n\n{\n \"start\": 31,\n \"end\": 33\n}\n\n### Fence as Player 2\n\nPOST http:\/\/localhost:8080\/games\/{{createdGameId}}\/fence\nContent-Type: application\/json\nAuthorization: Bearer {{user2}}\n\n{\n \"start\": 33,\n \"end\": 35\n}\n\n### View Game as Player 1\n\nGET http:\/\/localhost:8080\/games\/{{createdGameId}}\nContent-Type: application\/json\nAuthorization: Bearer {{user1}}\n\n\n### View Game as Player 2\n\nGET http:\/\/localhost:8080\/games\/{{createdGameId}}\nContent-Type: application\/json\nAuthorization: Bearer {{user2}}\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"26c569a4eebf44fc07c2621e4493905c28883435","subject":"Add the secret token as an in-buffer variable","message":"Add the secret token as an in-buffer variable\n\nDefine it once at the top and use it in all the queries below\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n:auth-token = Token <my-secret-token>\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Delete a production\nDELETE http:\/\/localhost:3000\/api\/productions\/31411\nAuthorization: :auth-token\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"library_signature\": \"ds12345\"\n}\n\n#################################\n# Marking a production as split #\n#################################\n\n# Mark a production as split\nPOST http:\/\/localhost:3000\/api\/productions\/29867\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark a non-existing production as split\nPOST http:\/\/localhost:3000\/api\/productions\/1\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark production as split with an invalid bit-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 5\n}\n\n# Mark production as split with an invalid sample-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44101,\n \"bit-rate\": 48\n}\n\n# Mark production as split which doesn't have state 'pending-split'\nPOST http:\/\/localhost:3000\/api\/productions\/94\/split\nAccept: application\/json\nContent-Type: application\/json\nAuthorization: :auth-token\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/302\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\nAuthorization: :auth-token\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Metrics\nGET http:\/\/localhost:3000\/metrics\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Delete a production\nDELETE http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n#################################\n# Marking a production as split #\n#################################\n\n# Mark a production as split\nPOST http:\/\/localhost:3000\/api\/productions\/29867\/split\nAccept: application\/json\nContent-Type: application\/json\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark a non-existing production as split\nPOST http:\/\/localhost:3000\/api\/productions\/1\/split\nAccept: application\/json\nContent-Type: application\/json\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n# Mark production as split with an invalid bit-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 5\n}\n\n# Mark production as split with an invalid sample-rate\nPOST http:\/\/localhost:3000\/api\/productions\/300\/split\nAccept: application\/json\nContent-Type: application\/json\n{\n \"volumes\": 1,\n \"sample-rate\": 44101,\n \"bit-rate\": 48\n}\n\n# Mark production as split which doesn't have state 'pending-split'\nPOST http:\/\/localhost:3000\/api\/productions\/94\/split\nAccept: application\/json\nContent-Type: application\/json\n{\n \"volumes\": 1,\n \"sample-rate\": 44100,\n \"bit-rate\": 48\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/302\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Metrics\nGET http:\/\/localhost:3000\/metrics\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"33a71b537495a8063297e869c6d2373a8864c0f4","subject":"Update POST_create_movie.http","message":"Update POST_create_movie.http","repos":"bryanbarnard\/ISWQ2014,bryanbarnard\/ISWQ2014","old_file":"samples\/POST_create_movie.http","new_file":"samples\/POST_create_movie.http","new_contents":"# REQUEST\nPOST 192.241.203.50:1337 \nAccept: application\/vnd.collection+json\nContent-Type: application\/vnd.collection+json\n{\n \"template\": {\n \"data\": [\n {\n \"name\": \"name\",\n \"value\": \"Fletch Lives\"\n },\n {\n \"name\": \"description\",\n \"value\": \"Chevy Chase as worlds best detective\"\n },\n {\n \"name\": \"datePublished\",\n \"value\": \"1993-03-28T21:51:08.406Z\"\n },\n {\n \"name\": \"about\",\n \"value\": \"Police, detective\"\n },\n {\n \"name\": \"genre\",\n \"value\": \"comedy\"\n },\n {\n \"name\": \"version\",\n \"value\": \"2.0\"\n },\n {\n \"name\": \"timeRequired\",\n \"value\": \"PT100M\"\n },\n {\n \"name\": \"contentRating\",\n \"value\": \"r\"\n }\n ]\n }\n}\n\n\n# RESPONSE\nHTTP\/1.1 201 Content Created\nDate: 2014-03-20T21:28:42.438Z\nLocation: http:\/\/192.241.203.50:1337\/api\/movies\/9aeb95b954504588a84d1dd8a47e77bc\n\n","old_contents":"# REQUEST\nPOST 192.241.203.50:1337 \nAccept: application\/vnd.collection+json\nContent-Type: application\/vnd.collection+json\n{\n \"template\": {\n \"data\": [\n {\n \"name\": \"name\",\n \"value\": \"Fletch Lives\"\n },\n {\n \"name\": \"description\",\n \"value\": \"Chevy Chase as worlds best detective\"\n },\n {\n \"name\": \"datePublished\",\n \"value\": \"1993-03-28T21:51:08.406Z\"\n },\n {\n \"name\": \"about\",\n \"value\": \"Police, detective\"\n },\n {\n \"name\": \"genre\",\n \"value\": \"comedy\"\n },\n {\n \"name\": \"version\",\n \"value\": \"2.0\"\n },\n {\n \"name\": \"timeRequired\",\n \"value\": \"PT100M\"\n },\n {\n \"name\": \"contentRating\",\n \"value\": \"r\"\n }\n ]\n }\n}\n\n\n# RESPONSE\n201 Content Created\nDate: 2014-03-20T21:28:42.438Z\nLocation: http:\/\/192.241.203.50\/api\/movies\/9aeb95b954504588a84d1dd8a47e77bc\n\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"cccfecece1cc246e6c5425812a73d6b4f94573c2","subject":"Styling for the 503 error page is modified (#96)","message":"Styling for the 503 error page is modified (#96)\n\nStyling for the 503 error page is modified","repos":"madhuni\/AstroBox,madhuni\/AstroBox,madhuni\/AstroBox,madhuni\/AstroBox","old_file":"files\/503.http","new_file":"files\/503.http","new_contents":"HTTP\/1.0 503 Service Unavailable\nCache-Control: no-cache\nConnection: close\nContent-Type: text\/html\n\n<!DOCTYPE html>\n<html>\n<head>\n\t<title>Etherbox is booting up<\/title>\n\t<link href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto\" rel=\"stylesheet\">\n\t<style>\n\t\t* {\n\t\t\t-webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\t\t}\n\t\t\n\t\tbody {\n\t\t\tmargin: 0;\n\t\t\tfont-family: 'Open Sans', sans-serif;\n\t\t}\n\n\t\t#booting-panel {\n\t\t\twidth: 800px;\n\t\t\theight: 480px;\n\t\t\tbackground-color: rgba(0, 0, 0, 0.9);\n\t\t\ttext-align: center;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.booting-panel__content-box {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t left: 50%;\n\t\t transform: translate(-50%, -50%);\n\t\t width: 600px;\n\t\t border-radius: 10px;\n\t\t background-color: white;\n\t\t padding: 20px;\n\t\t}\n\n\t\t.reload-btn {\n\t\t\tfont-size: 20px;\n\t border-radius: 5px;\n\t width: 240px;\n\t height: 48px;\n\t text-align: center;\n\t margin: 15px auto;\n\t background-color: #BBB;\n\t border: 0;\n\t text-transform: uppercase;\n\t\t}\n\n\t\th1 {\n\t\t\tfont-size: 30px;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t\th2 {\n\t\t\tfont-size: 22px;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t<\/style>\n<\/head>\n<body>\n\t<div id=\"booting-panel\">\n\t\t<div class=\"booting-panel__content-box\">\n\t\t\t<h1>Your ETHERBOX is still booting up.<\/h1>\n\t\t\t<hr>\n\t\t\t<h2>Please hit the button below to reload the page.<\/h2>\n\t\t\t<button class=\"reload-btn\" onclick=\"location.reload()\">Reconnect<\/button>\n\t\t<\/div>\n\t<\/div>\n<\/body>\n<\/html>\n","old_contents":"HTTP\/1.0 503 Service Unavailable\nCache-Control: no-cache\nConnection: close\nContent-Type: text\/html\n\n<!DOCTYPE html>\n<html>\n<head>\n\t<title>Etherbox is booting up<\/title>\n\t<link href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto\" rel=\"stylesheet\">\n\t<style>\n\t\t* {\n\t\t\t-webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n\t\t}\n\t\t\n\t\tbody {\n\t\t\tfont-family: 'Open Sans', sans-serif;\n\t\t}\n\n\t\t#booting-panel {\n\t\t\twidth: 800px;\n\t\t\theight: 480px;\n\t\t\tbackground-color: rgba(0, 0, 0, 0.9);\n\t\t\ttext-align: center;\n\t\t\tposition: relative;\n\t\t}\n\n\t\t.booting-panel__content-box {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t left: 50%;\n\t\t transform: translate(-50%, -50%);\n\t\t width: 600px;\n\t\t border-radius: 10px;\n\t\t background-color: white;\n\t\t padding: 20px;\n\t\t}\n\n\t\t.reload-btn {\n\t\t\tfont-size: 20px;\n\t border-radius: 5px;\n\t width: 240px;\n\t height: 48px;\n\t text-align: center;\n\t margin: 15px auto;\n\t background-color: #BBB;\n\t border: 0;\n\t text-transform: uppercase;\n\t\t}\n\n\t\th1 {\n\t\t\tfont-size: 30px;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t\th2 {\n\t\t\tfont-size: 22px;\n\t\t\tfont-weight: 500;\n\t\t}\n\n\t<\/style>\n<\/head>\n<body>\n\t<div id=\"booting-panel\">\n\t\t<div class=\"booting-panel__content-box\">\n\t\t\t<h1>Your ETHERBOX is still booting up.<\/h1>\n\t\t\t<hr>\n\t\t\t<h2>Please hit the button below to reload the page.<\/h2>\n\t\t\t<button class=\"reload-btn\" onclick=\"location.reload()\">Reconnect<\/button>\n\t\t<\/div>\n\t<\/div>\n<\/body>\n<\/html>\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"aa1e865a7824020eff518db1c222762846b9d0ca","subject":"Add text event sample to http file","message":"Add text event sample to http file\n\n","repos":"exceptionless\/Exceptionless,exceptionless\/Exceptionless,exceptionless\/Exceptionless,exceptionless\/Exceptionless","old_file":"exceptionless.http","new_file":"exceptionless.http","new_contents":"@token = 5f8aT5j0M1SdWCMOiJKCrlDNHMI38LjCH4LTWqGp\n@apiUrl = http:\/\/exceptionless.localtest.me:5000\/api\/v2\n@projectId = 537650f3b77efe23a47914f4\n\n### login\n\nPOST {{apiUrl}}\/auth\/login\nContent-Type: application\/json\n\n{\n \"email\": \"test@exceptionless.io\",\n \"password\": \"tester\"\n}\n\n# copy token result to @token above\n\n### get current user info\n\nGET {{apiUrl}}\/users\/me\nAuthorization: Bearer {{token}}\n\n### get organizations\n\nGET {{apiUrl}}\/organizations\nAuthorization: Bearer {{token}}\n\n### get projects\n\nGET {{apiUrl}}\/projects\nAuthorization: Bearer {{token}}\n\n### post a sample JSON event\n\nPOST {{apiUrl}}\/projects\/{{projectId}}\/events\nAuthorization: Bearer {{token}}\nContent-Type: application\/json\n\n{\n \"message\": \"Hello World!\"\n}\n\n### post a sample text event\n\nPOST {{apiUrl}}\/projects\/{{projectId}}\/events\nAuthorization: Bearer {{token}}\nContent-Type: text\/plain\n\nHello World!\n\n### get events\n\nGET {{apiUrl}}\/events\nAuthorization: Bearer {{token}}\n","old_contents":"@token = 5f8aT5j0M1SdWCMOiJKCrlDNHMI38LjCH4LTWqGp\n@apiUrl = http:\/\/exceptionless.localtest.me:5000\/api\/v2\n@projectId = 537650f3b77efe23a47914f4\n\n### login\n\nPOST {{apiUrl}}\/auth\/login\nContent-Type: application\/json\n\n{\n \"email\": \"test@exceptionless.io\",\n \"password\": \"tester\"\n}\n\n# copy token result to @token above\n\n### get current user info\n\nGET {{apiUrl}}\/users\/me\nAuthorization: Bearer {{token}}\n\n### get organizations\n\nGET {{apiUrl}}\/organizations\nAuthorization: Bearer {{token}}\n\n### get projects\n\nGET {{apiUrl}}\/projects\nAuthorization: Bearer {{token}}\n\n### post a sample event\n\nPOST {{apiUrl}}\/projects\/{{projectId}}\/events\nAuthorization: Bearer {{token}}\nContent-Type: application\/json\n\n{\n \"message\": \"Hello World!\"\n}\n\n### get events\n\nGET {{apiUrl}}\/events\nAuthorization: Bearer {{token}}\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"e53fad7492691d791ac599c0f8ecde673692467c","subject":"Update regressions.http","message":"Update regressions.http\n","repos":"Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand","old_file":"docs\/examples\/regressions.http","new_file":"docs\/examples\/regressions.http","new_contents":"\nPOST \/test\/schemas\/duplicated_uuid_field\/\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"<uuid_field>\": {\n\t\t\t\t\"_type\": \"keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"~3pZyPcFqGq\": \"A\",\n\t\"00000000-0000-1000-8000-c97562616c75\": \"B\",\n\t\"urn:uuid:00000000-0000-1000-8000-c97562616c75\": \"C\",\n\t\"{00000000-0000-1000-8000-c97562616c75}\": \"D\",\n}\n###\nGET \/test\/duplicated_uuid_field\/._schema\n###\n\n\nPUT \/test\/array\/~notmet\n\n{\n\t\"types\": [\n\t\t\"A\", \"B\", \"C\", \"D\",\n\t\t\"E\", \"F\", \"G\", \"H\"\n\t]\n}\n###\nINFO \/test\/array\/~notmet?echo&pretty&comments\n###\n\n\nPUT \/test\/array_of_arrays\/~notmet\n\n{\n\t\"types\": [\n\t\t[ \"A\", \"B\", \"C\", \"D\" ],\n\t\t[ \"E\", \"F\", \"G\", \"H\" ]\n\t]\n}\n###\nINFO \/test\/array_of_arrays\/~notmet?echo&pretty&comments\n###\n\n\nPUT \/test\/array_of_arrays_of_arrays\/~notmet\n\n{\n\t\"types\": [\n\t\t[ [ \"A\", \"B\" ], [ \"C\", \"D\" ] ],\n\t\t[ [ \"E\", \"F\" ], [ \"G\", \"H\" ] ]\n\t]\n}\n###\nINFO \/test\/array_of_arrays_of_arrays\/~notmet\n###\n\n\nPUT \/test\/arrays\/~notmet\n\n{\n\t\"types\": [\n\t\t\"A\", \"B\", [ \"C\", \"D\" ], [ \"E\", \"F\", [ \"G\", \"H\" ] ],\n\t\t\"I\", [ \"J\", [ \"K\", [ \"L\", [ \"M\", \"N\" ]] ] ]\n\t]\n}\n###\nINFO \/test\/arrays\/~notmet\n###\n\n\nPUT \/test\/array_of_objects\/~notmet\n\n{\n\t\"types\": [\n\t\t{\n\t\t\t\"name\": \"A\",\n\t\t\t\"num\": 1\n\t\t},\n\t\t{\n\t\t\t\"name\": \"B\",\n\t\t\t\"num\": 2\n\t\t},\n\t\t{\n\t\t\t\"name\": \"C\",\n\t\t\t\"num\": 3\n\t\t},\n\t\t{\n\t\t\t\"name\": \"D\",\n\t\t\t\"num\": 4\n\t\t},\n\t\t{\n\t\t\t\"name\": \"E\",\n\t\t\t\"num\": 5\n\t\t},\n\t\t{\n\t\t\t\"name\": \"F\",\n\t\t\t\"num\": 6\n\t\t},\n\t\t{\n\t\t\t\"name\": \"G\",\n\t\t\t\"num\": 7\n\t\t},\n\t\t{\n\t\t\t\"name\": \"H\",\n\t\t\t\"num\": 8\n\t\t}\n\t]\n}\n###\nINFO \/test\/array_of_objects\/~notmet\n###\n\n\nPUT \/test\/merges\/german\n\n{\n\t\"name\": \"German M. Bravo\",\n\t\"age\": 39,\n\t\"gender\": \"M\"\n}\n###\nUPDATE \/test\/merges\/german\n\n{\n\t\"name\": \"German Mendez Bravo\"\n}\n###\nGET \/test\/merges\/._schema\n###\n\n\n\nPUT \/test\/accuracy\/all\n\n{\n\t\"point\": {\n\t\t\"_point\": {\n\t\t\t\"_latitude\": 19.32,\n\t\t\t\"_longitude\": 99.55\n\t\t},\n\t\t\"_accuracy\": [10, 15]\n\t},\n\t\"date\": {\n\t\t\"_date\": {\n\t\t\t\"_year\": 2016,\n\t\t\t\"_month\": 10,\n\t\t\t\"_day\": 25,\n\t\t},\n\t\t\"_accuracy\": [3600, \"century\"]\n\t},\n}\n###\nGET \/test\/accuracy\/._schema\n###\n\n\n\nPUT \/test\/keyword_id\/1\n\n{\n\t\"_id\": {\n\t\t\"_type\": \"keyword\"\n\t},\n\t\"test\": \"Test 1\"\n}\n###\nPUT \/test\/keyword_id\/2\n\n{\n\t\"test\": \"Test 2\"\n}\n###\nGET \/test\/keyword_id\/._schema\n###\n","old_contents":"\nPOST \/test\/schemas\/duplicated_uuid_field\/\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"<uuid_field>\": {\n\t\t\t\t\"_type\": \"keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"~3pZyPcFqGq\": \"A\",\n\t\"00000000-0000-1000-8000-c97562616c75\": \"B\",\n\t\"urn:uuid:00000000-0000-1000-8000-c97562616c75\": \"C\",\n\t\"{00000000-0000-1000-8000-c97562616c75}\": \"D\",\n}\n###\nGET \/test\/duplicated_uuid_field\/._schema\n###\n\n\nPOST \/test\/array\/\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"types\": {\n\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"types\": [\n\t\t\"A\", \"B\", \"C\", \"D\",\n\t\t\"E\", \"F\", \"G\", \"H\"\n\t]\n}\n###\nGET \/test\/array\/._schema\n###\n\n\nPOST \/test\/array_of_arrays\/\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"types\": {\n\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"types\": [\n [ \"A\", \"B\", \"C\", \"D\" ],\n [ \"E\", \"F\", \"G\", \"H\" ]\n\t]\n}\n###\nGET \/test\/array_of_arrays\/._schema\n###\n\n\nPOST \/test\/array_of_arrays_of_arrays\/\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"types\": {\n\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t},\n\t\t}\n\t},\n\t\"types\": [\n [ [ \"A\", \"B\" ], [ \"C\", \"D\" ] ],\n [ [ \"E\", \"F\" ], [ \"G\", \"H\" ] ]\n\t]\n}\n###\nGET \/test\/array_of_arrays_of_arrays\/._schema\n###\n\n\nPUT \/test\/merges\/german\n\n{\n\t\"name\": \"German M. Bravo\",\n\t\"age\": 39,\n\t\"gender\": \"M\"\n}\n###\nUPDATE \/test\/merges\/german\n\n{\n\t\"name\": \"German Mendez Bravo\"\n}\n###\nGET \/test\/merges\/._schema\n###\n\n\n\nPUT \/test\/accuracy\/all\n\n{\n\t\"point\": {\n\t\t\"_point\": {\n\t\t\t\"_latitude\": 19.32,\n\t\t\t\"_longitude\": 99.55\n\t\t},\n\t\t\"_accuracy\": [10, 15]\n\t},\n\t\"date\": {\n\t\t\"_date\": {\n\t\t\t\"_year\": 2016,\n\t\t\t\"_month\": 10,\n\t\t\t\"_day\": 25,\n\t\t},\n\t\t\"_accuracy\": [3600, \"century\"]\n\t},\n}\n###\nGET \/test\/accuracy\/._schema\n###\n\n\n\nPUT \/test\/keyword_id\/1\n\n{\n\t\"_id\": {\n\t\t\"_type\": \"keyword\"\n\t},\n\t\"test\": \"Test 1\"\n}\n###\nPUT \/test\/keyword_id\/2\n\n{\n\t\"test\": \"Test 2\"\n}\n###\nGET \/test\/keyword_id\/._schema\n###\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"640220419673ed9134ed1095c32fca8202201109","subject":"Changed timestamp to valid format","message":"Changed timestamp to valid format","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/07_resources\/subscription\/02_create_a_new_subscription\/code\/example.http","new_file":"source\/docs\/07_resources\/subscription\/02_create_a_new_subscription\/code\/example.http","new_contents":"GET https:\/\/sandbox.gocardless.com\/connect\/subscriptions\/new?client_id=123ABC×tamp=2014-06-10T08%3A42%3A22Z&nonce=ABCDEF123%3D&pre_authorization[amount]=10.00&pre_authorization[interval_length]=1&pre_authorization[interval_unit]=month&pre_authorization[merchant_id]=06Z06JWQW1&signature=11abc2d3e1 HTTP\/1.1\n","old_contents":"GET https:\/\/sandbox.gocardless.com\/connect\/subscriptions\/new?client_id=123ABC×tamp=2013-11-22T15%3A04%3A17.135Z&nonce=ABCDEF123%3D&pre_authorization[amount]=10.00&pre_authorization[interval_length]=1&pre_authorization[interval_unit]=month&pre_authorization[merchant_id]=06Z06JWQW1&signature=11abc2d3e1 HTTP\/1.1\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"1b1aa648a99f5eb0138baebf6844f699ada2330a","subject":"Adapted nginx config from documentation","message":"Adapted nginx config from documentation\n\nIn order to enable the endpoints reachable via `\/api\/v0\/...` adapted the [nginx config from the documentation](http:\/\/docs.librenms.org\/Installation\/Installation-Nginx-(Debian-Ubuntu)\/) to work with this container.","repos":"jarischaefer\/docker-librenms,jarischaefer\/docker-librenms","old_file":"files\/etc\/nginx\/sites-enabled\/librenms.http","new_file":"files\/etc\/nginx\/sites-enabled\/librenms.http","new_contents":"server {\n\tlisten 80;\n\tserver_name _;\n\troot \/opt\/librenms\/html;\n\tindex index.php;\n\t\n\taccess_log \/opt\/librenms\/logs\/access_log;\n\terror_log \/opt\/librenms\/logs\/error_log;\n\n\tlocation \/ {\n\t\ttry_files $uri $uri\/ @librenms;\n\t}\n\n\tlocation ~ \\.php {\n\t\tfastcgi_param PATH_INFO $fastcgi_path_info;\n\t\tinclude fastcgi_params;\n\t\tfastcgi_split_path_info ^(.+\\.php)(\/.+)$;\n\t\tfastcgi_pass unix:\/var\/run\/php\/php7.0-fpm.sock;\n\t\tfastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n\t}\n\n\tlocation ~ \/\\.ht {\n\t\tdeny all;\n\t}\n\n\tlocation @librenms {\n\t\trewrite api\/v0(.*)$ \/api_v0.php\/$1 last;\n\t\trewrite ^(.+)$ \/index.php\/$1 last;\n\t}\n}\n","old_contents":"server {\n\tlisten 80 default_server;\n\tlisten [::]:80 default_server;\n\tserver_name _;\n\n\troot \/opt\/librenms\/html;\n\n\tlocation ~* \\.(png|bmp|gif|jpg|jpeg|txt|html|ico|css|js)$ {\n\t\texpires 4w;\n\t}\n\n\tlocation \/ {\n\t\ttry_files $uri $uri\/ @backend;\n\t}\n\n\tlocation @backend {\n\t\trewrite ^(.+)$ \/index.php\/$1 last;\n\t}\n\n\tlocation ~ ^\/(.*\\.php).*$ {\n\t\tinclude fastcgi_params;\n\t\tfastcgi_pass unix:\/var\/run\/php\/php7.0-fpm.sock;\n\t\tfastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\n\t}\n}\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"ffe6136d7781aa4012de8148200e74b31889e05c","subject":"Updates to the 503 application unavailable page.","message":"Updates to the 503 application unavailable page.\n","repos":"danwinship\/origin,matthyx\/origin,zhaosijun\/origin,childsb\/origin,tiwillia\/origin,abutcher\/origin,juanvallejo\/origin,wanghaoran1988\/origin,danwinship\/origin,jupierce\/origin,spinolacastro\/origin,stackdocker\/origin,danmcp\/origin,marun\/origin,simo5\/origin,ironcladlou\/origin,miminar\/origin,smarterclayton\/origin,ncdc\/origin,chlunde\/origin,miminar\/origin,rhuss\/origin,kargakis\/origin,chlunde\/origin,openshift\/origin,rajatchopra\/origin,marun\/origin,PI-Victor\/origin,jeffvance\/origin,imcsk8\/origin,thrasher-redhat\/origin,pecameron\/origin,wjiangjay\/origin,spadgett\/origin,ncdc\/origin,jprukner\/origin,inlandsee\/origin,jsafrane\/origin,spinolacastro\/origin,stackdocker\/origin,juanvallejo\/origin,hferentschik\/origin,jprukner\/origin,markllama\/origin,stackdocker\/origin,jdnieto\/origin,ryanj\/origin,raffaelespazzoli\/origin,knobunc\/origin,stackdocker\/origin,mrogers950\/origin,aveshagarwal\/origin,rhcarvalho\/origin,abutcher\/origin,maleck13\/origin,childsb\/origin,linearregression\/origin,stackdocker\/origin,jeremyeder\/origin,rhuss\/origin,openshift\/origin,sferich888\/origin,soltysh\/origin,stackdocker\/origin,juanvallejo\/origin,pweil-\/origin,bparees\/origin,elyscape\/origin,mfojtik\/origin,linzhaoming\/origin,ramr\/origin,rootfs\/origin,ncdc\/origin,pravisankar\/origin,JacobTanenbaum\/origin,wanghaoran1988\/origin,detiber\/origin,linearregression\/origin,ravisantoshgudimetla\/origin,imcsk8\/origin,ingvagabund\/origin,spadgett\/origin,fabianofranz\/origin,dobbymoodge\/origin,rootfs\/origin,aveshagarwal\/origin,legionus\/origin,arilivigni\/origin,wjiangjay\/origin,mahak\/origin,liggitt\/origin,csrwng\/origin,robertol\/origin,pravisankar\/origin,mdshuai\/origin,sjug\/origin,adelton\/origin,liangxia\/origin,sg00dwin\/origin,rootfs\/origin,coreydaley\/origin,willmtemple\/origin,jwhonce\/origin,childsb\/origin,anpingli\/origin,kargakis\/origin,sg00dwin\/origin,wjiangjay\/origin,dobbymoodge\/origin,pecameron\/origin,knobunc\/origin,willmtemple\/origin,zhaosijun\/origin,stevekuznetsov\/origin,Miciah\/origin,sspeiche\/origin,pecameron\/origin,pravisankar\/origin,chmouel\/origin,tdawson\/origin,gruiz17\/origin,jprukner\/origin,dobbymoodge\/origin,gruiz17\/origin,rajatchopra\/origin,rhamilto\/origin,elyscape\/origin,goern\/origin,openshift\/origin,imcsk8\/origin,csrwng\/origin,legionus\/origin,matthyx\/origin,sspeiche\/origin,jsafrane\/origin,hferentschik\/origin,danmcp\/origin,gashcrumb\/origin,matthyx\/origin,elyscape\/origin,rhuss\/origin,mahak\/origin,smarterclayton\/origin,ingvagabund\/origin,asiainfoLDP\/datafactory,tnozicka\/origin,simo5\/origin,danwinship\/origin,mfojtik\/origin,PI-Victor\/origin,rhamilto\/origin,mrogers950\/origin,asiainfoLDP\/datafactory,chmouel\/origin,mrogers950\/origin,imcsk8\/origin,kargakis\/origin,miminar\/origin,ryanj\/origin,markllama\/origin,detiber\/origin,tdawson\/origin,akram\/origin,csrwng\/origin,PI-Victor\/origin,ryanj\/origin,jim-minter\/origin,nhr\/origin,fabianofranz\/origin,tagoh\/origin,rajatchopra\/origin,deads2k\/origin,gabemontero\/origin,jprukner\/origin,nak3\/origin,Miciah\/origin,mdshuai\/origin,willmtemple\/origin,tagoh\/origin,jdnieto\/origin,liggitt\/origin,rhuss\/origin,robertol\/origin,willmtemple\/origin,rajatchopra\/origin,maleck13\/origin,dmage\/origin,eparis\/origin,bparees\/origin,sgallagher\/origin,luciddreamz\/origin,JacobTanenbaum\/origin,tracyrankin\/origin,robertol\/origin,mrogers950\/origin,jupierce\/origin,liangxia\/origin,sallyom\/origin,goern\/origin,jeffvance\/origin,gabemontero\/origin,dcbw\/origin,chlunde\/origin,matthyx\/origin,gashcrumb\/origin,simo5\/origin,tnozicka\/origin,eparis\/origin,maxamillion\/origin,deads2k\/origin,dinhxuanvu\/origin,imcsk8\/origin,pweil-\/origin,sg00dwin\/origin,linzhaoming\/origin,aveshagarwal\/origin,jwhonce\/origin,pravisankar\/origin,dcbw\/origin,hferentschik\/origin,wanghaoran1988\/origin,childsb\/origin,liangxia\/origin,jeffvance\/origin,ironcladlou\/origin,tnozicka\/origin,rootfs\/origin,akram\/origin,spinolacastro\/origin,juanvallejo\/origin,JacobTanenbaum\/origin,anpingli\/origin,tagoh\/origin,dcbw\/origin,rhcarvalho\/origin,markllama\/origin,adelton\/origin,rchicoli\/openshift-origin,jupierce\/origin,ramr\/origin,jpeeler\/origin,linzhaoming\/origin,sgallagher\/origin,jwhonce\/origin,spadgett\/origin,pmorie\/origin,robertol\/origin,enj\/origin,rajatchopra\/origin,markllama\/origin,sgallagher\/origin,dgoodwin\/origin,mrogers950\/origin,knobunc\/origin,sjug\/origin,liggitt\/origin,spinolacastro\/origin,smarterclayton\/origin,tracyrankin\/origin,jwhonce\/origin,sallyom\/origin,louyihua\/origin,sgallagher\/origin,tagoh\/origin,wjiangjay\/origin,ryanj\/origin,coreydaley\/origin,rajatchopra\/origin,asiainfoLDP\/datafactory,jpeeler\/origin,eparis\/origin,rchicoli\/openshift-origin,arilivigni\/origin,maleck13\/origin,dinhxuanvu\/origin,ncdc\/origin,raffaelespazzoli\/origin,stevekuznetsov\/origin,gashcrumb\/origin,hferentschik\/origin,dgoodwin\/origin,rchicoli\/openshift-origin,ryanj\/origin,dinhxuanvu\/origin,adelton\/origin,jpeeler\/origin,liangxia\/origin,kargakis\/origin,mkumatag\/origin,tnozicka\/origin,linzhaoming\/origin,inlandsee\/origin,hferentschik\/origin,pmorie\/origin,jeremyeder\/origin,robertol\/origin,soltysh\/origin,sspeiche\/origin,rhuss\/origin,fabianofranz\/origin,nhr\/origin,raffaelespazzoli\/origin,ramr\/origin,thrasher-redhat\/origin,php-coder\/origin,wjiangjay\/origin,goern\/origin,luciddreamz\/origin,gruiz17\/origin,php-coder\/origin,maleck13\/origin,stevekuznetsov\/origin,hroyrh\/origin,wanghaoran1988\/origin,detiber\/origin,juanvallejo\/origin,chlunde\/origin,jprukner\/origin,mdshuai\/origin,tagoh\/origin,asiainfoLDP\/datafactory,mdshuai\/origin,asiainfoLDP\/datafactory,jdnieto\/origin,danmcp\/origin,dgoodwin\/origin,maxamillion\/origin,rrati\/origin,sspeiche\/origin,PI-Victor\/origin,xiuwang\/origin,pmorie\/origin,tagoh\/origin,jeremyeder\/origin,php-coder\/origin,markllama\/origin,ramr\/origin,mfojtik\/origin,sallyom\/origin,kargakis\/origin,dgoodwin\/origin,php-coder\/origin,deads2k\/origin,thrasher-redhat\/origin,anpingli\/origin,dmage\/origin,nak3\/origin,matthyx\/origin,inlandsee\/origin,chmouel\/origin,jupierce\/origin,sdminonne\/origin,marun\/origin,legionus\/origin,linzhaoming\/origin,legionus\/origin,jpeeler\/origin,ravisantoshgudimetla\/origin,danwinship\/origin,miminar\/origin,rootfs\/origin,legionus\/origin,PI-Victor\/origin,tnozicka\/origin,spadgett\/origin,aveshagarwal\/origin,tracyrankin\/origin,mdshuai\/origin,danwinship\/origin,miminar\/origin,Miciah\/origin,liggitt\/origin,rhcarvalho\/origin,simo5\/origin,jeremyeder\/origin,liggitt\/origin,luciddreamz\/origin,rchicoli\/openshift-origin,enj\/origin,linearregression\/origin,chmouel\/origin,jdnieto\/origin,detiber\/origin,nak3\/origin,dcbw\/origin,smarterclayton\/origin,gruiz17\/origin,soltysh\/origin,jpeeler\/origin,mkumatag\/origin,dmage\/origin,detiber\/origin,markllama\/origin,abutcher\/origin,luciddreamz\/origin,liggitt\/origin,dinhxuanvu\/origin,gruiz17\/origin,liangxia\/origin,wanghaoran1988\/origin,dgoodwin\/origin,adelton\/origin,abutcher\/origin,elyscape\/origin,pmorie\/origin,danwinship\/origin,coreydaley\/origin,enj\/origin,dmage\/origin,robertol\/origin,tiwillia\/origin,sg00dwin\/origin,gashcrumb\/origin,ironcladlou\/origin,tiwillia\/origin,php-coder\/origin,rrati\/origin,childsb\/origin,nhr\/origin,maxamillion\/origin,PI-Victor\/origin,adelton\/origin,sferich888\/origin,ravisantoshgudimetla\/origin,zhaosijun\/origin,spinolacastro\/origin,luciddreamz\/origin,juanvallejo\/origin,ramr\/origin,rhuss\/origin,louyihua\/origin,rhcarvalho\/origin,php-coder\/origin,pmorie\/origin,arilivigni\/origin,jwhonce\/origin,sferich888\/origin,dcbw\/origin,rhamilto\/origin,tdawson\/origin,jwhonce\/origin,mrogers950\/origin,kargakis\/origin,tdawson\/origin,louyihua\/origin,eparis\/origin,raffaelespazzoli\/origin,marun\/origin,miminar\/origin,akram\/origin,sdminonne\/origin,stevekuznetsov\/origin,asiainfoLDP\/datafactory,linearregression\/origin,mdshuai\/origin,jim-minter\/origin,rrati\/origin,spinolacastro\/origin,ryanj\/origin,childsb\/origin,elyscape\/origin,luciddreamz\/origin,arilivigni\/origin,dobbymoodge\/origin,louyihua\/origin,jdnieto\/origin,imcsk8\/origin,ravisantoshgudimetla\/origin,fabianofranz\/origin,gruiz17\/origin,rhamilto\/origin,ravisantoshgudimetla\/origin,mahak\/origin,zhaosijun\/origin,simo5\/origin,rrati\/origin,sdminonne\/origin,jupierce\/origin,thrasher-redhat\/origin,sjug\/origin,tracyrankin\/origin,pravisankar\/origin,dinhxuanvu\/origin,pweil-\/origin,knobunc\/origin,rhamilto\/origin,spadgett\/origin,hroyrh\/origin,dobbymoodge\/origin,smarterclayton\/origin,dobbymoodge\/origin,inlandsee\/origin,liangxia\/origin,jeffvance\/origin,hferentschik\/origin,rrati\/origin,rhcarvalho\/origin,aveshagarwal\/origin,gabemontero\/origin,wjiangjay\/origin,jeremyeder\/origin,nhr\/origin,goern\/origin,maxamillion\/origin,louyihua\/origin,ingvagabund\/origin,maxamillion\/origin,tiwillia\/origin,bparees\/origin,danmcp\/origin,abutcher\/origin,jdnieto\/origin,jim-minter\/origin,hroyrh\/origin,tnozicka\/origin,mkumatag\/origin,nhr\/origin,jsafrane\/origin,xiuwang\/origin,xiuwang\/origin,jprukner\/origin","old_file":"images\/router\/haproxy\/conf\/error-page-503.http","new_file":"images\/router\/haproxy\/conf\/error-page-503.http","new_contents":"HTTP\/1.0 503 Service Unavailable\nPragma: no-cache\nCache-Control: private, max-age=0, no-cache, no-store\nConnection: close\nContent-Type: text\/html\n\n<html>\n <head>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <style type=\"text\/css\">\n \/*!\n * Bootstrap v3.3.5 (http:\/\/getbootstrap.com)\n * Copyright 2011-2015 Twitter, Inc.\n * Licensed under MIT (https:\/\/github.com\/twbs\/bootstrap\/blob\/master\/LICENSE)\n *\/\n \/*! normalize.css v3.0.3 | MIT License | github.com\/necolas\/normalize.css *\/\n html {\n font-family: sans-serif;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n }\n body {\n margin: 0;\n }\n h1 {\n font-size: 1.9em;\n font-weight: 400;\n line-height: 1.3;\n margin: 0.68em 0;\n }\n @media (min-width: 768px) { \n h1 {\n font-size: 2.15em;}\n }\n * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n *:before,\n *:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n html {\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n }\n body {\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n line-height: 1.66666667;\n font-size: 13px;\n color: #333333;\n background-color: #ffffff;\n margin: 4em 3em;\n }\n p {\n margin: 0 0 10px;\n font-size: 13px;\n font-weight: 300;\n line-height: 1.4;\n }\n @media (min-width: 768px) {\n p {\n font-size: 14px;\n }\n }\n <\/style>\n <\/head>\n <body>\n <div>\n <h1>Application is not available<\/h1>\n <p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.<\/p>\n <\/div>\n <\/body>\n<\/html>\n","old_contents":"HTTP\/1.0 503 Service Unavailable\nPragma: no-cache\nCache-Control: private, max-age=0, no-cache, no-store\nConnection: close\nContent-Type: text\/html\n\n<html>\n <body>\n <h1>503 Service Unavailable<\/h1>\n No server available to handle the request.\n <\/body>\n<\/html>\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"533e23fab08fb28a808aa0a1eca246c0670a225d","subject":"pkg\/Makefile.http: complete Makefile-example","message":"pkg\/Makefile.http: complete Makefile-example\n","repos":"rfswarm\/RIOT,gebart\/RIOT,alex1818\/RIOT,Darredevil\/RIOT,emmanuelsearch\/RIOT,centurysys\/RIOT,bartfaizoltan\/RIOT,PSHIVANI\/Riot-Code,locicontrols\/RIOT,stevenj\/RIOT,arvindpdmn\/RIOT,jhollister\/RIOT,rousselk\/RIOT,neumodisch\/RIOT,x3ro\/RIOT,zhuoshuguo\/RIOT,msolters\/RIOT,nsol-nmsu\/RIOT,arvindpdmn\/RIOT,Hyungsin\/RIOT-OS,FrancescoErmini\/RIOT,abp719\/RIOT,plushvoxel\/RIOT,msolters\/RIOT,d00616\/RIOT,sgso\/RIOT,sumanpanchal\/RIOT,aeneby\/RIOT,patkan\/RIOT,nsol-nmsu\/RIOT,avmelnikoff\/RIOT,Hyungsin\/RIOT-OS,LudwigKnuepfer\/RIOT,jasonatran\/RIOT,shady33\/RIOT,backenklee\/RIOT,rajma996\/RIOT,sgso\/RIOT,haoyangyu\/RIOT,ks156\/RIOT,DipSwitch\/RIOT,yogo1212\/RIOT,herrfz\/RIOT,binarylemon\/RIOT,malosek\/RIOT,authmillenon\/RIOT,thomaseichinger\/RIOT,ThanhVic\/RIOT,MarkXYang\/RIOT,bartfaizoltan\/RIOT,LudwigOrtmann\/RIOT,PSHIVANI\/Riot-Code,foss-for-synopsys-dwc-arc-processors\/RIOT,daniel-k\/RIOT,tfar\/RIOT,1blankz7\/RIOT,adjih\/RIOT,rfuentess\/RIOT,miri64\/RIOT,wentaoshang\/RIOT,Osblouf\/RIOT,LudwigOrtmann\/RIOT,kaspar030\/RIOT,Ell-i\/RIOT,RubikonAlpha\/RIOT,kushalsingh007\/RIOT,locicontrols\/RIOT,adjih\/RIOT,zhuoshuguo\/RIOT,altairpearl\/RIOT,d00616\/RIOT,d00616\/RIOT,herrfz\/RIOT,dhruvvyas90\/RIOT,abkam07\/RIOT,marcosalm\/RIOT,biboc\/RIOT,neumodisch\/RIOT,benoit-canet\/RIOT,kaleb-himes\/RIOT,herrfz\/RIOT,binarylemon\/RIOT,attdona\/RIOT,latsku\/RIOT,LudwigKnuepfer\/RIOT,basilfx\/RIOT,attdona\/RIOT,cladmi\/RIOT,neumodisch\/RIOT,hamilton-mote\/RIOT-OS,jhollister\/RIOT,syin2\/RIOT,jferreir\/RIOT,gebart\/RIOT,josephnoir\/RIOT,benoit-canet\/RIOT,stevenj\/RIOT,biboc\/RIOT,phiros\/RIOT,EmuxEvans\/RIOT,malosek\/RIOT,neumodisch\/RIOT,watr-li\/RIOT,RubikonAlpha\/RIOT,dkm\/RIOT,gbarnett\/RIOT,1blankz7\/RIOT,kaspar030\/RIOT,miri64\/RIOT,ximus\/RIOT,adrianghc\/RIOT,yogo1212\/RIOT,haoyangyu\/RIOT,khhhh\/RIOT,abkam07\/RIOT,lebrush\/RIOT,jasonatran\/RIOT,aeneby\/RIOT,JensErdmann\/RIOT,robixnai\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,mtausig\/RIOT,malosek\/RIOT,locicontrols\/RIOT,luciotorre\/RIOT,kb2ma\/RIOT,Osblouf\/RIOT,ThanhVic\/RIOT,Yonezawa-T2\/RIOT,thiagohd\/RIOT,abp719\/RIOT,cladmi\/RIOT,luciotorre\/RIOT,chris-wood\/RIOT,Darredevil\/RIOT,beurdouche\/RIOT,PSHIVANI\/Riot-Code,msolters\/RIOT,dhruvvyas90\/RIOT,jremmert-phytec-iot\/RIOT,jasonatran\/RIOT,basilfx\/RIOT,rfswarm2\/RIOT,Yonezawa-T2\/RIOT,roberthartung\/RIOT,toonst\/RIOT,khhhh\/RIOT,gbarnett\/RIOT,kbumsik\/RIOT,dailab\/RIOT,dhruvvyas90\/RIOT,ximus\/RIOT,immesys\/RiSyn,Darredevil\/RIOT,Lexandro92\/RIOT-CoAP,stevenj\/RIOT,emmanuelsearch\/RIOT,josephnoir\/RIOT,mtausig\/RIOT,changbiao\/RIOT,dkm\/RIOT,watr-li\/RIOT,marcosalm\/RIOT,Lexandro92\/RIOT-CoAP,rfuentess\/RIOT,rajma996\/RIOT,miri64\/RIOT,thomaseichinger\/RIOT,miri64\/RIOT,d00616\/RIOT,RubikonAlpha\/RIOT,Hyungsin\/RIOT-OS,EmuxEvans\/RIOT,watr-li\/RIOT,openkosmosorg\/RIOT,Darredevil\/RIOT,jferreir\/RIOT,nsol-nmsu\/RIOT,biboc\/RIOT,FrancescoErmini\/RIOT,aeneby\/RIOT,TobiasFredersdorf\/RIOT,biboc\/RIOT,robixnai\/RIOT,smlng\/RIOT,openkosmosorg\/RIOT,MonsterCode8000\/RIOT,Hyungsin\/RIOT-OS,jferreir\/RIOT,thiagohd\/RIOT,khhhh\/RIOT,RBartz\/RIOT,MarkXYang\/RIOT,zhuoshuguo\/RIOT,neiljay\/RIOT,jfischer-phytec-iot\/RIOT,kerneltask\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,wentaoshang\/RIOT,koenning\/RIOT,roberthartung\/RIOT,arvindpdmn\/RIOT,biboc\/RIOT,ant9000\/RIOT,jferreir\/RIOT,wentaoshang\/RIOT,adrianghc\/RIOT,OTAkeys\/RIOT,yogo1212\/RIOT,plushvoxel\/RIOT,Osblouf\/RIOT,dailab\/RIOT,yogo1212\/RIOT,ks156\/RIOT,kushalsingh007\/RIOT,arvindpdmn\/RIOT,EmuxEvans\/RIOT,jbeyerstedt\/RIOT-OTA-update,khhhh\/RIOT,daniel-k\/RIOT,MohmadAyman\/RIOT,benoit-canet\/RIOT,ks156\/RIOT,automote\/RIOT,thiagohd\/RIOT,asanka-code\/RIOT,ximus\/RIOT,authmillenon\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,kaspar030\/RIOT,aeneby\/RIOT,JensErdmann\/RIOT,mtausig\/RIOT,OTAkeys\/RIOT,PSHIVANI\/Riot-Code,bartfaizoltan\/RIOT,binarylemon\/RIOT,x3ro\/RIOT,immesys\/RiSyn,alex1818\/RIOT,kaleb-himes\/RIOT,benoit-canet\/RIOT,thomaseichinger\/RIOT,kushalsingh007\/RIOT,gebart\/RIOT,beurdouche\/RIOT,rousselk\/RIOT,kbumsik\/RIOT,Darredevil\/RIOT,kaleb-himes\/RIOT,roberthartung\/RIOT,luciotorre\/RIOT,mfrey\/RIOT,haoyangyu\/RIOT,lazytech-org\/RIOT,Ell-i\/RIOT,EmuxEvans\/RIOT,ntrtrung\/RIOT,1blankz7\/RIOT,ThanhVic\/RIOT,benoit-canet\/RIOT,centurysys\/RIOT,PSHIVANI\/Riot-Code,ntrtrung\/RIOT,thiagohd\/RIOT,basilfx\/RIOT,kYc0o\/RIOT,hamilton-mote\/RIOT-OS,Josar\/RIOT,LudwigOrtmann\/RIOT,dhruvvyas90\/RIOT,alignan\/RIOT,thomaseichinger\/RIOT,koenning\/RIOT,nsol-nmsu\/RIOT,fnack\/RIOT,roberthartung\/RIOT,miri64\/RIOT,dhruvvyas90\/RIOT,bartfaizoltan\/RIOT,katezilla\/RIOT,toonst\/RIOT,rakendrathapa\/RIOT,jremmert-phytec-iot\/RIOT,ThanhVic\/RIOT,rousselk\/RIOT,altairpearl\/RIOT,BytesGalore\/RIOT,thiagohd\/RIOT,kb2ma\/RIOT,bartfaizoltan\/RIOT,LudwigKnuepfer\/RIOT,DipSwitch\/RIOT,patkan\/RIOT,changbiao\/RIOT,jremmert-phytec-iot\/RIOT,tdautc19841202\/RIOT,kerneltask\/RIOT,binarylemon\/RIOT,JensErdmann\/RIOT,TobiasFredersdorf\/RIOT,brettswann\/RIOT,Josar\/RIOT,changbiao\/RIOT,altairpearl\/RIOT,jbeyerstedt\/RIOT-OTA-update,roberthartung\/RIOT,katezilla\/RIOT,alignan\/RIOT,gbarnett\/RIOT,dailab\/RIOT,jasonatran\/RIOT,locicontrols\/RIOT,binarylemon\/RIOT,plushvoxel\/RIOT,zhuoshuguo\/RIOT,smlng\/RIOT,wentaoshang\/RIOT,lebrush\/RIOT,jbeyerstedt\/RIOT-OTA-update,cladmi\/RIOT,kerneltask\/RIOT,binarylemon\/RIOT,jhollister\/RIOT,hamilton-mote\/RIOT-OS,patkan\/RIOT,daniel-k\/RIOT,MarkXYang\/RIOT,malosek\/RIOT,avmelnikoff\/RIOT,authmillenon\/RIOT,sgso\/RIOT,A-Paul\/RIOT,rfswarm2\/RIOT,cladmi\/RIOT,lebrush\/RIOT,automote\/RIOT,AnonMall\/RIOT,katezilla\/RIOT,rousselk\/RIOT,MonsterCode8000\/RIOT,rakendrathapa\/RIOT,changbiao\/RIOT,abp719\/RIOT,MarkXYang\/RIOT,chris-wood\/RIOT,rfuentess\/RIOT,watr-li\/RIOT,kbumsik\/RIOT,tdautc19841202\/RIOT,Yonezawa-T2\/RIOT,hamilton-mote\/RIOT-OS,mziegert\/RIOT,A-Paul\/RIOT,neumodisch\/RIOT,latsku\/RIOT,altairpearl\/RIOT,gbarnett\/RIOT,ant9000\/RIOT,chris-wood\/RIOT,beurdouche\/RIOT,jferreir\/RIOT,tdautc19841202\/RIOT,stevenj\/RIOT,alignan\/RIOT,rfswarm2\/RIOT,MohmadAyman\/RIOT,marcosalm\/RIOT,automote\/RIOT,AnonMall\/RIOT,kaleb-himes\/RIOT,AnonMall\/RIOT,sumanpanchal\/RIOT,haoyangyu\/RIOT,RBartz\/RIOT,MonsterCode8000\/RIOT,JensErdmann\/RIOT,A-Paul\/RIOT,thomaseichinger\/RIOT,josephnoir\/RIOT,LudwigOrtmann\/RIOT,gautric\/RIOT,emmanuelsearch\/RIOT,l3nko\/RIOT,haoyangyu\/RIOT,tdautc19841202\/RIOT,MonsterCode8000\/RIOT,changbiao\/RIOT,lazytech-org\/RIOT,dkm\/RIOT,backenklee\/RIOT,altairpearl\/RIOT,kerneltask\/RIOT,locicontrols\/RIOT,jferreir\/RIOT,Osblouf\/RIOT,stevenj\/RIOT,jbeyerstedt\/RIOT-OTA-update,Lexandro92\/RIOT-CoAP,jbeyerstedt\/RIOT-OTA-update,immesys\/RiSyn,neiljay\/RIOT,rajma996\/RIOT,Hyungsin\/RIOT-OS,alex1818\/RIOT,RIOT-OS\/RIOT,jremmert-phytec-iot\/RIOT,mfrey\/RIOT,abp719\/RIOT,BytesGalore\/RIOT,beurdouche\/RIOT,sumanpanchal\/RIOT,immesys\/RiSyn,Lexandro92\/RIOT-CoAP,koenning\/RIOT,sumanpanchal\/RIOT,kYc0o\/RIOT,adjih\/RIOT,marcosalm\/RIOT,l3nko\/RIOT,ntrtrung\/RIOT,avmelnikoff\/RIOT,MarkXYang\/RIOT,OTAkeys\/RIOT,ks156\/RIOT,gautric\/RIOT,kYc0o\/RIOT,abkam07\/RIOT,d00616\/RIOT,1blankz7\/RIOT,plushvoxel\/RIOT,fnack\/RIOT,attdona\/RIOT,ks156\/RIOT,rfswarm2\/RIOT,LudwigKnuepfer\/RIOT,shady33\/RIOT,MohmadAyman\/RIOT,authmillenon\/RIOT,rfswarm\/RIOT,kYc0o\/RIOT,daniel-k\/RIOT,mziegert\/RIOT,ntrtrung\/RIOT,tfar\/RIOT,d00616\/RIOT,kbumsik\/RIOT,adrianghc\/RIOT,FrancescoErmini\/RIOT,openkosmosorg\/RIOT,DipSwitch\/RIOT,Ell-i\/RIOT,gbarnett\/RIOT,marcosalm\/RIOT,neumodisch\/RIOT,brettswann\/RIOT,watr-li\/RIOT,alex1818\/RIOT,rakendrathapa\/RIOT,dhruvvyas90\/RIOT,arvindpdmn\/RIOT,FrancescoErmini\/RIOT,mfrey\/RIOT,asanka-code\/RIOT,asanka-code\/RIOT,mfrey\/RIOT,mtausig\/RIOT,mfrey\/RIOT,zhuoshuguo\/RIOT,robixnai\/RIOT,Lexandro92\/RIOT-CoAP,msolters\/RIOT,authmillenon\/RIOT,lebrush\/RIOT,syin2\/RIOT,yogo1212\/RIOT,basilfx\/RIOT,robixnai\/RIOT,adrianghc\/RIOT,emmanuelsearch\/RIOT,smlng\/RIOT,backenklee\/RIOT,x3ro\/RIOT,alex1818\/RIOT,syin2\/RIOT,kushalsingh007\/RIOT,kb2ma\/RIOT,josephnoir\/RIOT,ant9000\/RIOT,mziegert\/RIOT,adjih\/RIOT,basilfx\/RIOT,rfswarm\/RIOT,kaspar030\/RIOT,RIOT-OS\/RIOT,jfischer-phytec-iot\/RIOT,herrfz\/RIOT,rfswarm\/RIOT,shady33\/RIOT,sumanpanchal\/RIOT,alex1818\/RIOT,ximus\/RIOT,Josar\/RIOT,latsku\/RIOT,rakendrathapa\/RIOT,EmuxEvans\/RIOT,dailab\/RIOT,asanka-code\/RIOT,avmelnikoff\/RIOT,herrfz\/RIOT-old,Lexandro92\/RIOT-CoAP,kb2ma\/RIOT,JensErdmann\/RIOT,malosek\/RIOT,mziegert\/RIOT,Ell-i\/RIOT,sgso\/RIOT,malosek\/RIOT,neiljay\/RIOT,RIOT-OS\/RIOT,RBartz\/RIOT,l3nko\/RIOT,arvindpdmn\/RIOT,koenning\/RIOT,sgso\/RIOT,MonsterCode8000\/RIOT,LudwigOrtmann\/RIOT,kaspar030\/RIOT,RIOT-OS\/RIOT,syin2\/RIOT,x3ro\/RIOT,kbumsik\/RIOT,lebrush\/RIOT,automote\/RIOT,TobiasFredersdorf\/RIOT,latsku\/RIOT,rajma996\/RIOT,Josar\/RIOT,asanka-code\/RIOT,MonsterCode8000\/RIOT,AnonMall\/RIOT,Yonezawa-T2\/RIOT,watr-li\/RIOT,ThanhVic\/RIOT,josephnoir\/RIOT,bartfaizoltan\/RIOT,phiros\/RIOT,OlegHahm\/RIOT,RubikonAlpha\/RIOT,stevenj\/RIOT,ntrtrung\/RIOT,immesys\/RiSyn,DipSwitch\/RIOT,daniel-k\/RIOT,mtausig\/RIOT,abkam07\/RIOT,abp719\/RIOT,patkan\/RIOT,syin2\/RIOT,foss-for-synopsys-dwc-arc-processors\/RIOT,haoyangyu\/RIOT,toonst\/RIOT,rfswarm2\/RIOT,BytesGalore\/RIOT,locicontrols\/RIOT,neiljay\/RIOT,RubikonAlpha\/RIOT,fnack\/RIOT,herrfz\/RIOT-old,koenning\/RIOT,rfuentess\/RIOT,asanka-code\/RIOT,centurysys\/RIOT,sgso\/RIOT,jfischer-phytec-iot\/RIOT,tdautc19841202\/RIOT,jremmert-phytec-iot\/RIOT,BytesGalore\/RIOT,adjih\/RIOT,kb2ma\/RIOT,RubikonAlpha\/RIOT,fnack\/RIOT,latsku\/RIOT,rajma996\/RIOT,brettswann\/RIOT,EmuxEvans\/RIOT,shady33\/RIOT,jhollister\/RIOT,BytesGalore\/RIOT,gautric\/RIOT,daniel-k\/RIOT,gebart\/RIOT,smlng\/RIOT,PSHIVANI\/Riot-Code,thiagohd\/RIOT,l3nko\/RIOT,phiros\/RIOT,fnack\/RIOT,MarkXYang\/RIOT,beurdouche\/RIOT,backenklee\/RIOT,locicontrols\/RIOT,DipSwitch\/RIOT,toonst\/RIOT,x3ro\/RIOT,emmanuelsearch\/RIOT,abkam07\/RIOT,chris-wood\/RIOT,Yonezawa-T2\/RIOT,RBartz\/RIOT,OTAkeys\/RIOT,rfswarm\/RIOT,rfuentess\/RIOT,FrancescoErmini\/RIOT,backenklee\/RIOT,ximus\/RIOT,robixnai\/RIOT,l3nko\/RIOT,1blankz7\/RIOT,msolters\/RIOT,kushalsingh007\/RIOT,AnonMall\/RIOT,herrfz\/RIOT-old,rfswarm2\/RIOT,luciotorre\/RIOT,lebrush\/RIOT,l3nko\/RIOT,avmelnikoff\/RIOT,rakendrathapa\/RIOT,ant9000\/RIOT,katezilla\/RIOT,jhollister\/RIOT,sumanpanchal\/RIOT,herrfz\/RIOT,hamilton-mote\/RIOT-OS,openkosmosorg\/RIOT,attdona\/RIOT,rousselk\/RIOT,phiros\/RIOT,A-Paul\/RIOT,Darredevil\/RIOT,lazytech-org\/RIOT,shady33\/RIOT,patkan\/RIOT,MohmadAyman\/RIOT,kaleb-himes\/RIOT,jhollister\/RIOT,brettswann\/RIOT,khhhh\/RIOT,abp719\/RIOT,brettswann\/RIOT,Osblouf\/RIOT,jremmert-phytec-iot\/RIOT,marcosalm\/RIOT,jasonatran\/RIOT,khhhh\/RIOT,neiljay\/RIOT,luciotorre\/RIOT,LudwigKnuepfer\/RIOT,LudwigOrtmann\/RIOT,lazytech-org\/RIOT,zhuoshuguo\/RIOT,alignan\/RIOT,aeneby\/RIOT,gebart\/RIOT,dailab\/RIOT,immesys\/RiSyn,OlegHahm\/RIOT,FrancescoErmini\/RIOT,shady33\/RIOT,Yonezawa-T2\/RIOT,centurysys\/RIOT,smlng\/RIOT,changbiao\/RIOT,automote\/RIOT,DipSwitch\/RIOT,herrfz\/RIOT-old,jfischer-phytec-iot\/RIOT,robixnai\/RIOT,tfar\/RIOT,Josar\/RIOT,mziegert\/RIOT,wentaoshang\/RIOT,RIOT-OS\/RIOT,brettswann\/RIOT,altairpearl\/RIOT,ximus\/RIOT,kushalsingh007\/RIOT,lazytech-org\/RIOT,chris-wood\/RIOT,attdona\/RIOT,herrfz\/RIOT-old,phiros\/RIOT,OlegHahm\/RIOT,TobiasFredersdorf\/RIOT,ThanhVic\/RIOT,OlegHahm\/RIOT,rajma996\/RIOT,centurysys\/RIOT,openkosmosorg\/RIOT,msolters\/RIOT,ntrtrung\/RIOT,authmillenon\/RIOT,gautric\/RIOT,rakendrathapa\/RIOT,rfswarm\/RIOT,openkosmosorg\/RIOT,OTAkeys\/RIOT,mziegert\/RIOT,centurysys\/RIOT,nsol-nmsu\/RIOT,herrfz\/RIOT,koenning\/RIOT,adrianghc\/RIOT,wentaoshang\/RIOT,dkm\/RIOT,kYc0o\/RIOT,cladmi\/RIOT,AnonMall\/RIOT,latsku\/RIOT,MohmadAyman\/RIOT,abkam07\/RIOT,dkm\/RIOT,OlegHahm\/RIOT,gbarnett\/RIOT,JensErdmann\/RIOT,phiros\/RIOT,benoit-canet\/RIOT,Ell-i\/RIOT,TobiasFredersdorf\/RIOT,katezilla\/RIOT,patkan\/RIOT,RBartz\/RIOT,plushvoxel\/RIOT,automote\/RIOT,toonst\/RIOT,1blankz7\/RIOT,luciotorre\/RIOT,alignan\/RIOT,fnack\/RIOT,chris-wood\/RIOT,tfar\/RIOT,kerneltask\/RIOT,Osblouf\/RIOT,MohmadAyman\/RIOT,tdautc19841202\/RIOT,rousselk\/RIOT,jfischer-phytec-iot\/RIOT,emmanuelsearch\/RIOT,ant9000\/RIOT,yogo1212\/RIOT,attdona\/RIOT,RBartz\/RIOT,gautric\/RIOT,A-Paul\/RIOT,tfar\/RIOT","old_file":"pkg\/Makefile.http","new_file":"pkg\/Makefile.http","new_contents":"PKG_NAME = my_pkg # name of the package\nPKG_URL = http:\/\/example.com\/downloads # source url of the package e.g. a git repository\nPKG_VERSION = v1.2.3 # version of the package to use e.g. a git commit\/ref\nPKG_EXT = zip # extension of this package\n\nifneq ($(RIOTBASE),)\ninclude $(RIOTBASE)\/Makefile.base\nendif\n\n.PHONY: all clean patch distclean\n\nall: patch\n\t$(MAKE) -C $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\n\npatch: $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\/Makefile\n\t# Dependancy might be changed accordingly though we think the Makefile\n\t# will be the first thing you want to change\n\t#\n\t# Here might not happen anything besides dependancy checks\n\n$(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\/Makefile: $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\/\n\t# Here you apply your patch.\n\tcd $< && patch ..\/patch.txt\n\n$(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\/: $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)\n\t# Here you unpack the file.\n\t# This example assumes the common pattern that the archive contains its data in a subfolder with the same name as itself.\n\t$(AD)$(UNZIP_HERE) $<\n\n$(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT):\n\t# Get PKG_VERSION of package from PKG_URL\n\t$(AD)$(DOWNLOAD_TO_FILE) $@ $(PKG_URL)\/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)\n\nclean::\n\t# Reset package to checkout state.\n\trm -rf $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION) && \\\n\t\t$(MAKE) $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\/Makefile\n\ndistclean::\n\trm -rf $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION) $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)\n","old_contents":"PKG_NAME = my_pkg # name of the package\nPKG_URL = http:\/\/example.com\/downloads # source url of the package e.g. a git repository\nPKG_VERSION = v1.2.3 # version of the package to use e.g. a git commit\/ref\nPKG_EXT = zip # extension of this package\n\n.PHONY: all clean patch distclean\n\nall: patch\n\t$(MAKE) -C $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\n\npatch: $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\/Makefile\n\t# Dependancy might be changed accordingly though we think the Makefile\n\t# will be the first thing you want to change\n\t#\n\t# Here might not happen anything besides dependancy checks\n\n$(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\/Makefile: $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\/\n\t# Here you apply your patch.\n\tcd $< && patch ..\/patch.txt\n\n$(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\/: $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)\n\t# Here you unpack the file.\n\t# This example assumes the common pattern that the archive contains its data in a subfolder with the same name as itself.\n\t$(AD)$(UNZIP_HERE) $<\n\n$(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT):\n\t# Get PKG_VERSION of package from PKG_URL\n\t$(AD)$(DOWNLOAD_TO_FILE) $@ $(PKG_URL)\/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)\n\nclean::\n\t# Reset package to checkout state.\n\trm -rf $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION) && \\\n\t\t$(MAKE) $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION)\/Makefile\n\ndistclean::\n\trm -rf $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION) $(CURDIR)\/$(PKG_NAME)-$(PKG_VERSION).$(PKG_EXT)\n","returncode":0,"stderr":"","license":"lgpl-2.1","lang":"HTTP"} {"commit":"6fbb1ad635a7f3cb68b345b320ae1fbcbce3f78e","subject":"update","message":"update\n","repos":"jagilber\/powershellScripts,jagilber\/powershellScripts","old_file":"REST.http","new_file":"REST.http","new_contents":"\n##\n# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n##\n\n##\n#\n# cert setup. place in vscode 'setttings.json'\n#\"rest-client.certificates\": {\n# \"%fqdn%: {\n# \"pfx\": \"%path to pfx file%\",\n# \"passphrase\": \"\"\n# }\n# },\n##\n\n##\n# azure aadv1 setup\n#\n# \"rest-client.environmentVariables\": {\n# \"$shared\": {\n# \"subscriptionId\": \"\",\n# \"tenantId\": \"\"\n# }\n##\n\n# ip info\nhttps:\/\/ipinfo.io\/json\n###\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n###\nGET https:\/\/api.github.com\/repos\/microsoft\/CollectServiceFabricData\/releases\/latest\n\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n@downloads = {{repoQuery.response.body.$.downloads_url}}\nGET {{downloads}}\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n###\n\n###\n# convert google news to text\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/news.google.com \n###\n\n# nuget api test\n@id = https:\/\/azuresearch-usnc.nuget.org\/query\n@QUERY = Microsoft.ServiceFabric.CollectSFData\n@SKIP = 0\n@TAKE = 10\n@PRERELEASE = false\n#@SEMVERLEVEL = {{}}\n#@PACKAGETYPE = {{}}\nGET {{id}}?q={{QUERY}}&skip={{SKIP}}&take={{TAKE}}&prerelease={{PRERELEASE}}\n#&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}\n\n###\nGET https:\/\/www.w3.org\/services\/html2txt?url=https:\/\/devblogs.microsoft.com\/powershell\/arm-dsc-extension-settings\/\n###\n\n\n###\n@cluster = sfcluster\n@location = eastus\n@apiversion = 6.4\n@managementPort = 19080\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/BackupRestore\/BackupPolicies?api-version={{apiversion}}\n\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/Applications\/?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/GetClusterManifest?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/$\/GetClusterHealth?api-version={{apiversion}}\nGET https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/Explorer\n###\n\n###\n@storageAccountName = sflogsbmnjfzoagi7jc2\n@tableSasToken = ?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacupx&se=2021-03-25T10:16:34Z&st=2021-03-25T02:16:34Z&spr=https&sig=DEIyaWBlIKe0Nru1ubEbb6u5t787LwoqQ5UVWgxMoJQ%3D\n@storageObjectToQuery = fabriclog8de7b13a4137454a9ad5a356fa0c3159Api\nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}\n###\n\n###\n# arm query\n@query =\n@apiversion = 2021-01-01\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp query api list\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-operations_list\n@query = providers\/Microsoft.ServiceFabric\/operations\n@apiversion = 2018-02-01\n\nGET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n#GET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp get cluster\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-clusters_get\n\n@query = providers\/Microsoft.ServiceFabric\/clusters\/{{clusterName}}\n@apiversion = 2018-02-01\n@resourceGroupName = sfcluster\n@clusterName = {{resourceGroupName}}\n\n#GET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/resourceGroups\/{{resourceGroupName}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n\n###\n\nPUT http:\/\/localhost:8080\/api\/Votes\/dfff\n###\n\nGET http:\/\/localhost:8080\n###\n\nGET http:\/\/localhost:8080\/api\/Votes?c={{$timestamp}}\n###\n\nPUT http:\/\/localhost:19081\/Voting\/VotingData\/api\/VoteData\/ddddd?PartitionKey=3&PartitionKind=Int64Range\n###\n\nPUT http:\/\/localhost:19964\/Voting\/VotingData\/api\/VoteData\/ddddd?PartitionKey=3&PartitionKind=Int64Range","old_contents":"\n##\n# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n##\n\n##\n#\n# cert setup. place in vscode 'setttings.json'\n#\"rest-client.certificates\": {\n# \"%fqdn%: {\n# \"pfx\": \"%path to pfx file%\",\n# \"passphrase\": \"\"\n# }\n# },\n##\n\n##\n# azure aadv1 setup\n#\n# \"rest-client.environmentVariables\": {\n# \"$shared\": {\n# \"subscriptionId\": \"\",\n# \"tenantId\": \"\"\n# }\n##\n\n# ip info\nhttps:\/\/ipinfo.io\/json\n###\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n###\nGET https:\/\/api.github.com\/repos\/microsoft\/CollectServiceFabricData\/releases\/latest\n\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n@downloads = {{repoQuery.response.body.$.downloads_url}}\nGET {{downloads}}\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n###\n\n###\n# convert google news to text\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/news.google.com \n###\n\n# nuget api test\n@id = https:\/\/azuresearch-usnc.nuget.org\/query\n@QUERY = Microsoft.ServiceFabric.CollectSFData\n@SKIP = 0\n@TAKE = 10\n@PRERELEASE = false\n#@SEMVERLEVEL = {{}}\n#@PACKAGETYPE = {{}}\nGET {{id}}?q={{QUERY}}&skip={{SKIP}}&take={{TAKE}}&prerelease={{PRERELEASE}}\n#&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}\n\n###\nGET https:\/\/www.w3.org\/services\/html2txt?url=https:\/\/devblogs.microsoft.com\/powershell\/arm-dsc-extension-settings\/\n###\n\n\n###\n@cluster = sfcluster\n@location = eastus\n@apiversion = 6.4\n@managementPort = 19080\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/BackupRestore\/BackupPolicies?api-version={{apiversion}}\n\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/Applications\/?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/GetClusterManifest?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/$\/GetClusterHealth?api-version={{apiversion}}\nGET https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/Explorer\n###\n\n###\n@storageAccountName = sflogsbmnjfzoagi7jc2\n@tableSasToken = ?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacupx&se=2021-03-25T10:16:34Z&st=2021-03-25T02:16:34Z&spr=https&sig=DEIyaWBlIKe0Nru1ubEbb6u5t787LwoqQ5UVWgxMoJQ%3D\n@storageObjectToQuery = fabriclog8de7b13a4137454a9ad5a356fa0c3159Api\nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}\n###\n\n###\n# arm query\n@query =\n@apiversion = 2021-01-01\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp query api list\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-operations_list\n@query = providers\/Microsoft.ServiceFabric\/operations\n@apiversion = 2018-02-01\n\nGET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n#GET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n###\n\n###\n# sfrp get cluster\n# https:\/\/docs.microsoft.com\/en-us\/rest\/api\/servicefabric\/sfrp-api-clusters_get\n\n@query = providers\/Microsoft.ServiceFabric\/clusters\/{{clusterName}}\n@apiversion = 2018-02-01\n@resourceGroupName = sfcluster\n@clusterName = {{resourceGroupName}}\n\n#GET https:\/\/management.azure.com\/{{query}}?api-version={{apiversion}}\n\nGET https:\/\/management.azure.com\/subscriptions\/{{subscriptionId}}\/resourceGroups\/{{resourceGroupName}}\/{{query}}?api-version={{apiversion}}\nAuthorization: {{$aadToken}}\nAccept: application\/json\n\n###","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"9a14c257404e9bcd7b44e8569f91e8b1fe4ae2f2","subject":"Changed timestamp to valid format","message":"Changed timestamp to valid format","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/07_resources\/bill\/02_create_a_one_off_bill\/code\/example.http","new_file":"source\/docs\/07_resources\/bill\/02_create_a_one_off_bill\/code\/example.http","new_contents":"GET https:\/\/gocardless.com\/connect\/bills\/new?client_id=123ABC×tamp=2014-06-10T08%3A42%3A22Z&nonce=ABCDEF123%3D&bill[amount]=10.00&bill[merchant_id]=123ABC&signature=11abc2d3e1 HTTP\/1.1\n","old_contents":"GET https:\/\/gocardless.com\/connect\/bills\/new?client_id=123ABC×tamp=2013-11-22T13%3A42%3A44.922Z&nonce=ABCDEF123%3D&bill[amount]=10.00&bill[merchant_id]=123ABC&signature=11abc2d3e1 HTTP\/1.1\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"5af8e723f2954bf624fc70fc1d9a4974cab4dac7","subject":"Preauth index http","message":"Preauth index http\n","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/03_resources\/preauthorization\/05_list_all_pre-authorizations\/code\/example.http","new_file":"source\/docs\/03_resources\/preauthorization\/05_list_all_pre-authorizations\/code\/example.http","new_contents":"","old_contents":"","returncode":0,"stderr":"unknown","license":"mit","lang":"HTTP"} {"commit":"62919636081b81340c9d42efda5a109605e88952","subject":"Add instance url var. Add call to instance details page.","message":"Add instance url var. Add call to instance details page.\n","repos":"TotallyInformation\/node-red-contrib-uibuilder,TotallyInformation\/node-red-contrib-uibuilder","old_file":"tests\/newapi.http","new_file":"tests\/newapi.http","new_contents":"\/\/ Test uibuilder v3 admin API routes\n\/\/\n\/\/ Using REST Client extension https:\/\/github.com\/Huachao\/vscode-restclient#rest-client\n\n\/\/ File variables\n@hostname = localhost\n@port = 1880\n@host = {{hostname}}:{{port}}\n@redAdminPath = red\/\n@uibAdminPath = uib\n@contentType = application\/json\n@createdAt = {{$datetime iso8601}}\n# Valid uibuilder instance URL\n@url = uib\n\n# @name Sample-Get\n# Get something and return it\nGET http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}?ping=pong\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample GET\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Put\n# Write file contents\nPUT http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample PUT\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Post\n# Create a new folder or file\nPOST http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Delete\n# Delete a folder or a file\nDELETE http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Instance-Info\n# Returns an HTML page of info for the current instance of uibuilder\nGET http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/instance\/{{url}}\ncontent-type: {{contentType}}\n\n{\n \"cmd\": \"showinstancesettings\",\n \"time\": \"{{createdAt}}\"\n}\n\n\n\/\/ NOTES:\n\/\/ - can send a file: `< filename.json` or (for processing variables): `<@ filename.json`\n\/\/ - ExpressJS supported methods are here: https:\/\/expressjs.com\/en\/4x\/api.html#app.METHOD","old_contents":"\/\/ Test uibuilder v3 admin API routes\n\/\/\n\/\/ Using REST Client extension https:\/\/github.com\/Huachao\/vscode-restclient#rest-client\n\n\/\/ File variables\n@hostname = localhost\n@port = 1880\n@host = {{hostname}}:{{port}}\n@redAdminPath = red\/\n@uibAdminPath = uib\n@contentType = application\/json\n@createdAt = {{$datetime iso8601}}\n\n# @name Sample-Get\n# Get something and return it\nGET http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/uib?ping=pong\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample GET\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Put\n# Write file contents\nPUT http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/uib\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample PUT\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Post\n# Create a new folder or file\nPOST http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/uib\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n###\n\n# @name Sample-Delete\n# Delete a folder or a file\nDELETE http:\/\/{{host}}\/{{redAdminPath}}{{uibAdminPath}}\/uib\ncontent-type: {{contentType}}\n\n{\n \"name\": \"sample DELETE\",\n \"time\": \"{{createdAt}}\"\n}\n\n\n\/\/ NOTES:\n\/\/ - can send a file: `< filename.json` or (for processing variables): `<@ filename.json`\n\/\/ - ExpressJS supported methods are here: https:\/\/expressjs.com\/en\/4x\/api.html#app.METHOD","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"be34afa4b3e35746a36d3c3bb888dd26052ca56f","subject":"Minor http change","message":"Minor http change\n\n","repos":"exceptionless\/Exceptionless,exceptionless\/Exceptionless,exceptionless\/Exceptionless,exceptionless\/Exceptionless","old_file":"exceptionless.http","new_file":"exceptionless.http","new_contents":"@token = _token_\n@apiUrl = http:\/\/exceptionless.localtest.me:5000\/api\/v2\n@projectId = 537650f3b77efe23a47914f4\n\n### login\n\nPOST {{apiUrl}}\/auth\/login\nContent-Type: application\/json\n\n{\n \"email\": \"test@exceptionless.io\",\n \"password\": \"tester\"\n}\n\n# copy token result to @token above\n\n### get current user info\n\nGET {{apiUrl}}\/users\/me\nAuthorization: Bearer {{token}}\n\n### get organizations\n\nGET {{apiUrl}}\/organizations\nAuthorization: Bearer {{token}}\n\n### get projects\n\nGET {{apiUrl}}\/projects\nAuthorization: Bearer {{token}}\n\n### post a sample JSON event\n\nPOST {{apiUrl}}\/events\nAuthorization: Bearer {{token}}\nContent-Type: application\/json\n\n{\n \"message\": \"Hello World!\"\n}\n\n### post a sample text event\n\nPOST {{apiUrl}}\/projects\/{{projectId}}\/events\nAuthorization: Bearer {{token}}\nContent-Type: text\/plain\n\nHello World!\n\n### get events\n\nGET {{apiUrl}}\/events\nAuthorization: Bearer {{token}}\n","old_contents":"@token = 5f8aT5j0M1SdWCMOiJKCrlDNHMI38LjCH4LTWqGp\n@apiUrl = http:\/\/exceptionless.localtest.me:5000\/api\/v2\n@projectId = 537650f3b77efe23a47914f4\n\n### login\n\nPOST {{apiUrl}}\/auth\/login\nContent-Type: application\/json\n\n{\n \"email\": \"test@exceptionless.io\",\n \"password\": \"tester\"\n}\n\n# copy token result to @token above\n\n### get current user info\n\nGET {{apiUrl}}\/users\/me\nAuthorization: Bearer {{token}}\n\n### get organizations\n\nGET {{apiUrl}}\/organizations\nAuthorization: Bearer {{token}}\n\n### get projects\n\nGET {{apiUrl}}\/projects\nAuthorization: Bearer {{token}}\n\n### post a sample JSON event\n\nPOST {{apiUrl}}\/projects\/{{projectId}}\/events\nAuthorization: Bearer {{token}}\nContent-Type: application\/json\n\n{\n \"message\": \"Hello World!\"\n}\n\n### post a sample text event\n\nPOST {{apiUrl}}\/projects\/{{projectId}}\/events\nAuthorization: Bearer {{token}}\nContent-Type: text\/plain\n\nHello World!\n\n### get events\n\nGET {{apiUrl}}\/events\nAuthorization: Bearer {{token}}\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"c3ccc4ea52cc16e4fd8f6c0ba7823e98f168e2bc","subject":"Changed POST to POSTDATA","message":"Changed POST to POSTDATA\n","repos":"Max00355\/HTTPLang,Danisan\/HTTPLang","old_file":"examples\/everything.http","new_file":"examples\/everything.http","new_contents":"set URL http:\/\/google.com\/\ndo GET \/\nset URL $URL\nset POSTDATA a=1,b=2,c=3,d=4\nset COOKIE $TMPCOOKIE\ndo POST \/\n","old_contents":"set URL http:\/\/google.com\/\ndo GET \/\nset URL $URL\nset POST a=1,b=2,c=3,d=4\nset COOKIE $TMPCOOKIE\ndo POST \/\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"f052dee6ea8ccaef09b8460036dc092519c98c43","subject":"Docs: Examples: Fixes","message":"Docs: Examples: Fixes\n","repos":"Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand,Kronuz\/Xapiand","old_file":"docs\/examples\/schemas.http","new_file":"docs\/examples\/schemas.http","new_contents":"POST http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\",\n\t},\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\"\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"campo\": \"valor\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\nAccept: application\/json; indent=4\n###\n\nPUT http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema2\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nPUT http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema2\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"otro\": {\n\t\t\t\"_type\": \"integer\"\n\t\t}\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema2\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema2\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_type-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\"\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema-schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_type-_schema-schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\",\n\t\t\"schema\": {\n\t\t\t\"_type\": \"object\",\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"campo\": {\n\t\t\t\t\"_type\": \"string\"\n\t\t\t}\n\t\t}\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema-schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema-schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema-schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-_schema-schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_type\": \"object\",\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"campo\": {\n\t\t\t\t\"_type\": \"string\"\n\t\t\t}\n\t\t}\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-_schema-schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-_schema-schema\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"campo\": \"valor\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-_type\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\"\n\t}\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-_type\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-_type\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n\"test\/schemas\/explicit-foreign\/.schemas\/00000000-0000-1000-8000-010000000000\"\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-schema\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-_type\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-_type\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-_type\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"version\": 2.0,\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\t\"_index\": \"field_terms\",\n\t\t\t\t\"_language\": \"en\",\n\t\t\t\t\"_slot\": 499030115,\n\t\t\t\t\"_type\": \"string\"\n\t\t}\n\t}\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-_schama-object\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-object\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-object\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"otro\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/uuid_field\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"<uuid_field>\": {\n\t\t\t\t\"meta\": {\n\t\t\t\t\t\"_recurse\": false,\n\t\t\t\t},\n\t\t\t\t\"roles\": {\n\t\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t\t}\n\t\t\t},\n\t\t}\n\t},\n\t\"~3pZyPcFqGq\": {\n\t\t\"meta\": {\n\t\t\t\"scope\": \"read write\"\n\t\t},\n\t\t\"roles\": [\n\t\t\t\"myself\"\n\t\t]\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/uuid_field\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/uuid_field\/:metadata\nAccept: application\/json; indent=4\n###\n\n\/\/\/\/\/\/\n\n\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/~8NB7DEPmtJ4\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\"\n\t},\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\",\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/~8NB7DEPmtJ4\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\nPUT http:\/\/localhost:8880\/test\/xxx\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\t\"version\": 2.0,\n\t\t\"description\": \"Descripcion\",\n\t\t\"schema\": {\n\t\t\t\"_type\": \"object\",\n\t\t\t\"campo\": {\n\t\t\t\t\t\"_prefix\": \"\\xff\\x03w\\xcb\",\n\t\t\t\t\t\"_index\": \"terms\",\n\t\t\t\t\t\"_language\": \"en\",\n\t\t\t\t\t\"_slot\": 3064504733, \/\/ slot: '\\xff\\x03w\\xcb' = 3064504733\n\t\t\t\t\t\"_type\": \"string\"\n\t\t\t},\n\t\t\t\"_id\": {\n\t\t\t\t\t\"_bool_term\": true,\n\t\t\t\t\t\"_prefix\": \"Q\",\n\t\t\t\t\t\"_slot\": 0,\n\t\t\t\t\t\"_type\": \"uuid\"\n\t\t\t}\n\t\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/xxx\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/xxx\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/xxx\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\t\"version\": 2.0,\n\t\t\"description\": \"Descripcion\",\n\t\t\"schema\": {\n\t\t\t\t\"campo\": {\n\t\t\t\t\t\t\"_index\": \"terms\",\n\t\t\t\t\t\t\"_language\": \"en\",\n\t\t\t\t\t\t\"_type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"_id\": {\n\t\t\t\t\t\t\"_bool_term\": true,\n\t\t\t\t\t\t\"_type\": \"uuid\"\n\t\t\t\t}\n\t\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/xxx\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/xxx\/:metadata\nAccept: application\/json; indent=4\n###\n","old_contents":"POST http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\",\n\t},\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\"\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"campo\": \"valor\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\nAccept: application\/json; indent=4\n###\n\nPUT http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema2\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nPUT http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema2\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"otro\": {\n\t\t\t\"_type\": \"integer\"\n\t\t}\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema2\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema2\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_type-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\"\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema-schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_type-_schema-schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\",\n\t\t\"schema\": {\n\t\t\t\"_type\": \"object\",\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"campo\": {\n\t\t\t\t\"_type\": \"string\"\n\t\t\t}\n\t\t}\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema-schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema-schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_type-_schema-schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-_schema-schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_type\": \"object\",\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"campo\": {\n\t\t\t\t\"_type\": \"string\"\n\t\t\t}\n\t\t}\n\t},\n\t\"campo\": \"valor\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-_schema-schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-_schema-schema\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"campo\": \"valor\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-_type\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\"\n\t}\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-_type\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-_type\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\n\/\/ PUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n\/\/ \"test\/schemas\/explicit-foreign\/.schemas\/00000000-0000-1000-8000-010000000000\"\n\/\/ '\n\/\/ ###\n\/\/ GET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign\/:schema\nAccept: application\/json; indent=4\n\/\/ ###\n\/\/ GET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign\/:metadata\nAccept: application\/json; indent=4\n\/\/ ###\n\/\/ GET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n\/\/ ###\n\n\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-schema\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-schema\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-schema\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-_type\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-_type\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-_type\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"version\": 2.0,\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\t\"_index\": \"field_terms\",\n\t\t\t\t\"_language\": \"en\",\n\t\t\t\t\"_slot\": 499030115,\n\t\t\t\t\"_type\": \"string\"\n\t\t}\n\t}\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\n\/\/\/\/\/\/\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-_schama-object\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\"\n}\n###\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t}\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-object\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-object\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-object\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_type\": \"foreign\/object\",\n\t\"_endpoint\": \"test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/.schemas\/00000000-0000-1000-8000-010000000000\",\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"description\": \"Descripcion\",\n\t\"schema\": {\n\t\t\"_type\": \"object\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"campo\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t\t\"otro\": {\n\t\t\t\"_type\": \"string\"\n\t\t},\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/explicit-foreign-_type-_schama-foreign_object\/.schemas\/00000000-0000-1000-8000-010000000000\nAccept: application\/json; indent=4\n###\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/uuid_field\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"schema\": {\n\t\t\t\"_id\": {\n\t\t\t\t\"_type\": \"uuid\",\n\t\t\t},\n\t\t\t\"<uuid_field>\": {\n\t\t\t\t\"meta\": {\n\t\t\t\t\t\"_recurse\": false,\n\t\t\t\t},\n\t\t\t\t\"roles\": {\n\t\t\t\t\t\"_type\": \"array\/keyword\",\n\t\t\t\t}\n\t\t\t},\n\t\t}\n\t},\n\t\"~3pZyPcFqGq\": {\n\t\t\"meta\": {\n\t\t\t\"scope\": \"read write\"\n\t\t},\n\t\t\"roles\": [\n\t\t\t\"myself\"\n\t\t]\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/uuid_field\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/uuid_field\/:metadata\nAccept: application\/json; indent=4\n###\n\n\/\/\/\/\/\/\n\n\n\n\n\n\n\n\nPOST http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\"_schema\": {\n\t\t\"_type\": \"foreign\/object\",\n\t\t\"_endpoint\": \"test\/schemas\/implicit-foreign-_schema\/.schemas\/prueba\",\n\t\t\"_id\": {\n\t\t\t\"_type\": \"uuid\",\n\t\t},\n\t\t\"description\": \"Descripcion\"\n\t},\n\t\"_id\": {\n\t\t\"_type\": \"uuid\",\n\t},\n\t\"campo\": {\n\t\t\"_type\": \"string\",\n\t\t\"_value\": \"valor\",\n\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/:metadata\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/prueba\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/schemas\/implicit-foreign-_schema\/.schemas\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\nPUT http:\/\/localhost:8880\/test\/xxx\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\t\"version\": 2.0,\n\t\t\"description\": \"Descripcion\",\n\t\t\"schema\": {\n\t\t\t\"_type\": \"object\",\n\t\t\t\"campo\": {\n\t\t\t\t\t\"_prefix\": \"\\xff\\x03w\\xcb\",\n\t\t\t\t\t\"_index\": \"terms\",\n\t\t\t\t\t\"_language\": \"en\",\n\t\t\t\t\t\"_slot\": 3064504733, \/\/ slot: '\\xff\\x03w\\xcb' = 3064504733\n\t\t\t\t\t\"_type\": \"string\"\n\t\t\t},\n\t\t\t\"_id\": {\n\t\t\t\t\t\"_bool_term\": true,\n\t\t\t\t\t\"_prefix\": \"Q\",\n\t\t\t\t\t\"_slot\": 0,\n\t\t\t\t\t\"_type\": \"uuid\"\n\t\t\t}\n\t\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/xxx\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/xxx\/:metadata\nAccept: application\/json; indent=4\n###\n\n\n\n\nPUT http:\/\/localhost:8880\/test\/xxx\/:schema\nAccept: application\/json; indent=4\nContent-Type: application\/json\n\n{\n\t\t\"version\": 2.0,\n\t\t\"description\": \"Descripcion\",\n\t\t\"schema\": {\n\t\t\t\t\"campo\": {\n\t\t\t\t\t\t\"_index\": \"terms\",\n\t\t\t\t\t\t\"_language\": \"en\",\n\t\t\t\t\t\t\"_type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"_id\": {\n\t\t\t\t\t\t\"_bool_term\": true,\n\t\t\t\t\t\t\"_type\": \"uuid\"\n\t\t\t\t}\n\t\t},\n}\n###\nGET http:\/\/localhost:8880\/test\/xxx\/:schema\nAccept: application\/json; indent=4\n###\nGET http:\/\/localhost:8880\/test\/xxx\/:metadata\nAccept: application\/json; indent=4\n###\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"929b2d7886f52ee16274d61ecc5ac39eff303051","subject":"[clean] Cleaned the examples file","message":"[clean] Cleaned the examples file\n","repos":"bogdansolga\/spring-boot-training,bogdansolga\/spring-boot-training","old_file":"d02\/d02s03-spring-web\/d02s03e01-spring-web-annotations\/src\/main\/resources\/http_requests.http","new_file":"d02\/d02s03-spring-web\/d02s03e01-spring-web-annotations\/src\/main\/resources\/http_requests.http","new_contents":"GET http:\/\/localhost:8080\/hello\n\n###\nPOST http:\/\/localhost:8080\/responseBody\n\nA text example\n\n###\nPOST http:\/\/localhost:8080\/requestBody\nContent-Type: application\/json\n\n{\n \"id\": 3,\n \"name\": \"Something\"\n}","old_contents":"GET http:\/\/localhost:8080\/hello\n\n###\nPOST http:\/\/localhost:8080\/requestBody\n\nCisco is crazy\n\n###\nPOST http:\/\/localhost:8080\/responseBody\n\n###\nPOST http:\/\/localhost:8080\/product\nContent-Type: application\/json\n\n{\n \"id\": 2,\n \"name\": \"Another one\"\n}\n\n###\nGET http:\/\/localhost:8080\/product\/1\n\n###\nPOST http:\/\/localhost:8080\/product\n\n###\nPOST http:\/\/localhost:8080\/matches\/2\/score\n\n###\nGET http:\/\/localhost:8080\/product\/6\n\n###","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"5c5991a9b24f945453c85af3bdd4d8a9a952bca0","subject":"feat: ad updateEnrollment to canvas.http","message":"feat: ad updateEnrollment to canvas.http\n","repos":"SlateFoundation\/slate-connector-canvas,SlateFoundation\/slate-connector-canvas","old_file":"canvas.http","new_file":"canvas.http","new_contents":"@baseUrl = https:\/\/{{canvasHost}}\/api\/v1\n\n@allEnrollmentStates = &state[]=active&state[]=invited&state[]=creation_pending&state[]=deleted&state[]=rejected&state[]=completed&state[]=inactive\n@allEnrollmentTypes = &type[]=StudentEnrollment&type[]=TeacherEnrollment&type[]=ObserverEnrollment&type[]=TaEnrollment\n\n###\n\n# @name getAccount\nGET {{baseUrl}}\/accounts\/{{canvasAccountId}} HTTP\/1.1\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name getUser\n@userId = 1234\n\nGET {{baseUrl}}\/users\/{{userId}}\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name getEnrollmentsByUser\n\nGET {{baseUrl}}\/users\/{{userId}}\/enrollments\n ?per_page=1000\n {{allEnrollmentStates}}\n {{allEnrollmentTypes}}\n &sis_section_id[]=ENG3-123\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name deleteEnrollment\n\n@courseId = 1234\n@enrollmentId = 1234567\n\nDELETE {{baseUrl}}\/courses\/{{courseId}}\/enrollments\/{{enrollmentId}}\n ?task=inactivate\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name getSection\n\n@sectionId = sis_section_id:ENG3-123\n\nGET {{baseUrl}}\/sections\/{{sectionId}}\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name getEnrollmentsBySection\nGET {{baseUrl}}\/sections\/{{sectionId}}\/enrollments\n ?per_page=1000\n {{allEnrollmentStates}}\n {{allEnrollmentTypes}}\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name getEnrollmentsBySection\nGET {{baseUrl}}\/sections\/{{sectionId}}\/enrollments\/{{enrollmentId}}\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name updateEnrollment\n\nPOST {{baseUrl}}\/sections\/{{sectionId}}\/enrollments\nAuthorization: Bearer {{canvasToken}}\nContent-Type: application\/x-www-form-urlencoded\n\nenrollment[user_id]={{userId}}\n&enrollment[type]=StudentEnrollment\n&enrollment[enrollment_state]=active\n&enrollment[notify]=false\n&enrollment[start_at]=null\n&enrollment[end_at]=null\n}\n","old_contents":"@baseUrl = https:\/\/{{canvasHost}}\/api\/v1\n\n@allEnrollmentStates = &state[]=active&state[]=invited&state[]=creation_pending&state[]=deleted&state[]=rejected&state[]=completed&state[]=inactive\n@allEnrollmentTypes = &type[]=StudentEnrollment&type[]=TeacherEnrollment&type[]=ObserverEnrollment&type[]=TaEnrollment\n\n###\n\n# @name getAccount\nGET {{baseUrl}}\/accounts\/{{canvasAccountId}} HTTP\/1.1\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name getUser\n@userId = 1234\n\nGET {{baseUrl}}\/users\/{{userId}}\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name getEnrollmentsByUser\n\nGET {{baseUrl}}\/users\/{{userId}}\/enrollments\n ?per_page=1000\n {{allEnrollmentStates}}\n {{allEnrollmentTypes}}\n &sis_section_id[]=ENG3-123\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name deleteEnrollment\n\n@courseId = 1234\n@enrollmentId = 1234567\n\nDELETE {{baseUrl}}\/courses\/{{courseId}}\/enrollments\/{{enrollmentId}}\n ?task=inactivate\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name getSection\n\n@sectionId = sis_section_id:ENG3-123\n\nGET {{baseUrl}}\/sections\/{{sectionId}}\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name getEnrollmentsBySection\nGET {{baseUrl}}\/sections\/{{sectionId}}\/enrollments\n ?per_page=1000\n {{allEnrollmentStates}}\n {{allEnrollmentTypes}}\nAuthorization: Bearer {{canvasToken}}\n\n###\n\n# @name getEnrollmentsBySection\nGET {{baseUrl}}\/sections\/{{sectionId}}\/enrollments\/{{enrollmentId}}\nAuthorization: Bearer {{canvasToken}}\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"7ce25343ca83c28b83510fdfe9a619290e79f514","subject":"Add more rest tests for the abacus API","message":"Add more rest tests for the abacus API\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"d10c42028a3b6cb85afb52535138140062c2219d","subject":"Add \"versions\" http request","message":"Add \"versions\" http request\n","repos":"jugda\/dukecon_server,dukecon\/dukecon_server,dukecon\/dukecon_server,dukecon\/dukecon_server,jugda\/dukecon_server,jugda\/dukecon_server","old_file":"samples\/common.http","new_file":"samples\/common.http","new_contents":"# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or\n# paste cURL into the file and request will be converted to HTTP Request format.\n#\n# Following HTTP Request Live Templates are available:\n# * 'gtrp' and 'gtr' create a GET request with or without query parameters;\n# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;\n# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart\/form-data);\n\nGET {{rest}}\/conferences\n\n###\nGET {{mgmt}}\/versions\/dukecon_server-version.txt\n\n###\n","old_contents":"# For a quick start check out our HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection) or\n# paste cURL into the file and request will be converted to HTTP Request format.\n#\n# Following HTTP Request Live Templates are available:\n# * 'gtrp' and 'gtr' create a GET request with or without query parameters;\n# * 'ptr' and 'ptrp' create a POST request with a simple or parameter-like body;\n# * 'mptr' and 'fptr' create a POST request to submit a form with a text or file field (multipart\/form-data);\n\nGET {{rest}}\/conferences\n\n###\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"9c37d5a1288d30b7836fe3415fe6b73e7a38a6ab","subject":"Bug","message":"Bug\n\n(cherry picked from commit 2b3e70c23ab3fb7e5305e197af2c6ed899bed70a)\n","repos":"mapcentia\/geocloud2,mapcentia\/geocloud2,mapcentia\/geocloud2,mapcentia\/geocloud2,mapcentia\/geocloud2,mapcentia\/geocloud2","old_file":".idea\/httpRequests\/http-requests-log.http","new_file":".idea\/httpRequests\/http-requests-log.http","new_contents":"POST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gid\" : 1000,\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T121650.200.json\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gid\" : 1,\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T121620.500.json\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gid\" : 1,\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T121606.200.html\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gid\" : 1,\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T121355.200.html\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gid\" : 1,\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T121159.200.html\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T121116.200.html\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T121002.200.html\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T120948.200.html\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T120744.200.html\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T120700.200.html\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T120627.200.html\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geom\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T120540.200.json\n\n###\n\nPOST http:\/\/127.0.0.1:8080\/api\/v2\/feature\/mydb\/test.city_center.the_geon\/25832\nContent-Type: application\/json\nGc2-API-KEY: aea11527e8629882a405f70acc498554\n\n{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"properties\": {\n \"gml_id\": \"8783\",\n \"fot_id\": 1,\n \"objekt_status\": \"A\",\n \"geometri_status\": \"Clever\",\n \"test\": \"MH1\"\n },\n \"geometry\": {\n \"type\": \"Polygon\",\n \"coordinates\": [\n [\n [\n 8.780522,\n 55.325531\n ],\n [\n 8.785973,\n 55.326044\n ],\n [\n 8.785715,\n 55.323505\n ],\n [\n 8.784041,\n 55.32348\n ],\n [\n 8.783011,\n 55.323309\n ],\n [\n 8.780522,\n 55.325531\n ]\n ]\n ]\n }\n }\n ]\n}\n\n<> 2021-06-07T120509.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T141305.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"nums\": 1}\n\n<> 2021-03-08T141259.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"dsd\"}\n\n<> 2021-03-08T141250.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"1d4\"}\n\n<> 2021-03-08T141239.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 14}\n\n<> 2021-03-08T141231.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T141224.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T135903.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T135803.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T135631.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T135544.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133629.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133539.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/myd\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133531.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133516.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133431.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133321.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"sd\"}\n\n<> 2021-03-08T133314.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133309.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133301.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133204.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133147.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132838.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"sd\"}\n\n<> 2021-03-08T132829.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132429.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132422.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132312.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132219.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"1\"}\n\n<> 2021-03-08T132213.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"#\"}\n\n<> 2021-03-08T132204.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"#\"}\n\n<> 2021-03-08T132045.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132023.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T131946.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T131856.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130554.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130540.200.html\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130437.200.html\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130429.404.html\n\n###\n\n","old_contents":"POST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T141305.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"nums\": 1}\n\n<> 2021-03-08T141259.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"dsd\"}\n\n<> 2021-03-08T141250.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"1d4\"}\n\n<> 2021-03-08T141239.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 14}\n\n<> 2021-03-08T141231.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T141224.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T135903.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T135803.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T135631.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T135544.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133629.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133539.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/myd\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133531.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133516.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133431.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133321.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"sd\"}\n\n<> 2021-03-08T133314.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133309.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133301.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133204.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T133147.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132838.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"sd\"}\n\n<> 2021-03-08T132829.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132429.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132422.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132312.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132219.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"1\"}\n\n<> 2021-03-08T132213.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"#\"}\n\n<> 2021-03-08T132204.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": \"#\"}\n\n<> 2021-03-08T132045.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T132023.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{\"num\": 1}\n\n<> 2021-03-08T131946.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T131856.500.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130554.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130540.200.html\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2_demo_extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130437.200.html\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130429.404.html\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130403.404.html\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130346.200.json\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130229.200.json\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130159.200.json\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130143.200.json\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T130123.200.json\n\n###\n\nGET http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T125937.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T125922.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T125857.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/dem\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T125850.404.html\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T125821.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T125706.200.json\n\n###\n\nPOST http:\/\/localhost:8080\/extensions\/gc2-demo-extension\/controller\/demo\/mydb\nContent-Type: application\/json\n\n{}\n\n<> 2021-03-08T125621.200.json\n\n###\n\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"d1555adcd2c3155353ba85a1689e241c33693635","subject":"Add text event sample to http file","message":"Add text event sample to http file\n\n","repos":"exceptionless\/Exceptionless,exceptionless\/Exceptionless,exceptionless\/Exceptionless,exceptionless\/Exceptionless","old_file":"exceptionless.http","new_file":"exceptionless.http","new_contents":"@token = 5f8aT5j0M1SdWCMOiJKCrlDNHMI38LjCH4LTWqGp\n@apiUrl = http:\/\/exceptionless.localtest.me:5000\/api\/v2\n@projectId = 537650f3b77efe23a47914f4\n\n### login\n\nPOST {{apiUrl}}\/auth\/login\nContent-Type: application\/json\n\n{\n \"email\": \"test@exceptionless.io\",\n \"password\": \"tester\"\n}\n\n# copy token result to @token above\n\n### get current user info\n\nGET {{apiUrl}}\/users\/me\nAuthorization: Bearer {{token}}\n\n### get organizations\n\nGET {{apiUrl}}\/organizations\nAuthorization: Bearer {{token}}\n\n### get projects\n\nGET {{apiUrl}}\/projects\nAuthorization: Bearer {{token}}\n\n### post a sample JSON event\n\nPOST {{apiUrl}}\/projects\/{{projectId}}\/events\nAuthorization: Bearer {{token}}\nContent-Type: application\/json\n\n{\n \"message\": \"Hello World!\"\n}\n\n### post a sample text event\n\nPOST {{apiUrl}}\/projects\/{{projectId}}\/events\nAuthorization: Bearer {{token}}\nContent-Type: text\/plain\n\nHello World!\n\n### get events\n\nGET {{apiUrl}}\/events\nAuthorization: Bearer {{token}}\n","old_contents":"@token = 5f8aT5j0M1SdWCMOiJKCrlDNHMI38LjCH4LTWqGp\n@apiUrl = http:\/\/exceptionless.localtest.me:5000\/api\/v2\n@projectId = 537650f3b77efe23a47914f4\n\n### login\n\nPOST {{apiUrl}}\/auth\/login\nContent-Type: application\/json\n\n{\n \"email\": \"test@exceptionless.io\",\n \"password\": \"tester\"\n}\n\n# copy token result to @token above\n\n### get current user info\n\nGET {{apiUrl}}\/users\/me\nAuthorization: Bearer {{token}}\n\n### get organizations\n\nGET {{apiUrl}}\/organizations\nAuthorization: Bearer {{token}}\n\n### get projects\n\nGET {{apiUrl}}\/projects\nAuthorization: Bearer {{token}}\n\n### post a sample event\n\nPOST {{apiUrl}}\/projects\/{{projectId}}\/events\nAuthorization: Bearer {{token}}\nContent-Type: application\/json\n\n{\n \"message\": \"Hello World!\"\n}\n\n### get events\n\nGET {{apiUrl}}\/events\nAuthorization: Bearer {{token}}\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"2e7546502c421ffdbb07b886f2dcf4bdeebd7c01","subject":"Update API","message":"Update API\n","repos":"RADAR-CNS\/RADAR-Dashboard,RADAR-CNS\/RADAR-Dashboard,RADAR-CNS\/RADAR-Dashboard,RADAR-CNS\/RADAR-Dashboard","old_file":"API\/test.http","new_file":"API\/test.http","new_contents":"","old_contents":"","returncode":0,"stderr":"unknown","license":"apache-2.0","lang":"HTTP"} {"commit":"aea2c3c383e88b7a8f52ee087e1dd27e2cd10c7a","subject":"add api","message":"add api\n","repos":"jagilber\/powershellScripts,jagilber\/powershellScripts","old_file":"REST.http","new_file":"REST.http","new_contents":"\n# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n\n# ip info\nhttps:\/\/ipinfo.io\/json\n###\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n# collectsfdata releases\nhttps:\/\/github.com\/microsoft\/collectservicefabricdata\/releases\/latest\n###\n\n# collectsfdata releases\nhttps:\/\/github.com\/microsoft\/collectservicefabricdata\/releases\n###\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n@downloads = {{repoQuery.response.body.$.downloads_url}}\nGET {{downloads}}\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n###\n\n###\nPOST https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n\n\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/jagilber.github.io\n\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/news.google.com \n###\n\n# nuget api test\n@id = https:\/\/azuresearch-usnc.nuget.org\/query\n@QUERY = Microsoft.ServiceFabric.CollectSFData\n@SKIP = 0\n@TAKE = 10\n@PRERELEASE = false\n#@SEMVERLEVEL = {{}}\n#@PACKAGETYPE = {{}}\nGET {{id}}?q={{QUERY}}&skip={{SKIP}}&take={{TAKE}}&prerelease={{PRERELEASE}}\n#&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}\n\n###\nGET https:\/\/api.github.com\/repos\/microsoft\/CollectServiceFabricData\/releases\/latest\n\n###\nGET https:\/\/www.w3.org\/services\/html2txt?url=https:\/\/devblogs.microsoft.com\/powershell\/arm-dsc-extension-settings\/\n###\n\n\n###\n@cluster = sfjagilber1nt3\n@location = eastus\n@apiversion = 6.4\n@managementPort = 19080\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/BackupRestore\/BackupPolicies?api-version={{apiversion}}\n\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/Applications\/?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/GetClusterManifest?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/$\/GetClusterHealth?api-version={{apiversion}}\nGET https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/Explorer\n###\n\n###\n@storageAccountName = sflogsxxxxxxxxxxxxxxxxxx\n@tableSasToken = ?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacupx&se=2021-03-25T10:16:34Z&st=2021-03-25T02:16:34Z&spr=https&sig=DEIyaWBlIKe0Nru1ubEbb6u5t787LwoqQ5UVWgxMoJQ%3D\n@storageObjectToQuery = fabriclog8de7b13a4137454a9ad5a356fa0c3159Api\nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}\n\n\n###\nPOST http:\/\/localhost:46564\/api\/configuration\/update HTTP\/1.1\ncontent-type: application\/json\n\n{\n \"$schema\": \"https:\/\/raw.githubusercontent.com\/microsoft\/CollectServiceFabricData\/master\/configurationFiles\/collectsfdata.schema.json\",\n \"AzureClientId\": null,\n \"AzureClientSecret\": null,\n \"AzureResourceGroup\": null,\n \"AzureResourceGroupLocation\": null,\n \"AzureSubscriptionId\": null,\n \"AzureTenantId\": null,\n \"CacheLocation\": null,\n \"ContainerFilter\": null,\n \"DeleteCache\": false,\n \"EndTimeStamp\": \"04\/09\/2021 21:46 -04:00\",\n \"GatherType\": \"trace\",\n \"KustoCluster\": \"https:\/\/ingest-sfus.kusto.windows.net\/dblogs\",\n \"KustoCompressed\": true,\n \"KustoPurge\": null,\n \"KustoRecreateTable\": false,\n \"KustoTable\": \"jagilber_test\",\n \"KustoUseBlobAsSource\": true,\n \"KustoUseIngestMessage\": false,\n \"List\": false,\n \"LogAnalyticsCreate\": false,\n \"LogAnalyticsId\": null,\n \"LogAnalyticsKey\": null,\n \"LogAnalyticsName\": null,\n \"LogAnalyticsPurge\": null,\n \"LogAnalyticsRecreate\": false,\n \"LogAnalyticsWorkspaceName\": null,\n \"LogAnalyticsWorkspaceSku\": \"PerGB2018\",\n \"LogDebug\": 4,\n \"LogFile\": null,\n \"NodeFilter\": null,\n \"NoProgressTimeoutMin\": 10,\n \"ResourceUri\": null,\n \"SasKey\": \"https:\/\/sflogsxxxxxxxxxxxxx.blob.core.windows.net\/?sv=2019-07-07&sig=iifcH%2B6%2FZwrea9w%2BWwp52nYFvyvxl7NVjRxWCyLKKSw%3D&spr=https&st=2021-04-11T01%3A47%3A51Z&se=2021-04-11T09%3A48%3A51Z&srt=sco&ss=bfqt&sp=racupwdl\",\n \"StartTimeStamp\": \"04\/09\/2021 19:46 -04:00\",\n \"Threads\": 12,\n \"Unique\": true,\n \"UriFilter\": null,\n \"UseMemoryStream\": true,\n \"UseTx\": false,\n \"Version\": \"${Process.GetCurrentProcess().MainModule?.FileVersionInfo.FileVersion}\"\n}\n\n###\nGET http:\/\/localhost:46564\/api\/configurationJson HTTP\/1.1\ncontent-type: application\/json\n\n###\nGET http:\/\/localhost:46564\/api\/configurationOptions HTTP\/1.1\ncontent-type: application\/json\n\n###\nGET http:\/\/localhost:46564\/api\/configurationProperties HTTP\/1.1\ncontent-type: application\/json\n","old_contents":"\n# vscode rest client extension http file\n# see https:\/\/github.com\/Huachao\/vscode-restclient\n# use ### to separate requests\n\n# ip info\nhttps:\/\/ipinfo.io\/json\n###\n\n# sf package download versions\nhttps:\/\/go.microsoft.com\/fwlink\/?LinkID=824848&clcid=0x409\n###\n\n# collectsfdata releases\nhttps:\/\/github.com\/microsoft\/collectservicefabricdata\/releases\/latest\n###\n\n# collectsfdata releases\nhttps:\/\/github.com\/microsoft\/collectservicefabricdata\/releases\n###\n\n# github api urls\nhttps:\/\/api.github.com\n###\n\n# github repo query\n# @name repoQuery\nhttps:\/\/api.github.com\/repos\/jagilber\/powershellscripts\n###\n@forks = {{repoQuery.response.body.$.forks_url}}\nGET {{forks}}\n###\n@downloads = {{repoQuery.response.body.$.downloads_url}}\nGET {{downloads}}\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n###\n\n###\nPOST https:\/\/store.rg-adguard.net\/api\/GetFiles?type=url&url=https:\/\/www.microsoft.com\/store\/apps\/9pgjgd53tn86\n\n\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/jagilber.github.io\n\n###\nhttps:\/\/www.w3.org\/services\/html2txt?url=https:\/\/news.google.com \n###\n\n# nuget api test\n@id = https:\/\/azuresearch-usnc.nuget.org\/query\n@QUERY = Microsoft.ServiceFabric.CollectSFData\n@SKIP = 0\n@TAKE = 10\n@PRERELEASE = false\n#@SEMVERLEVEL = {{}}\n#@PACKAGETYPE = {{}}\nGET {{id}}?q={{QUERY}}&skip={{SKIP}}&take={{TAKE}}&prerelease={{PRERELEASE}}\n#&semVerLevel={SEMVERLEVEL}&packageType={PACKAGETYPE}\n\n###\nGET https:\/\/api.github.com\/repos\/microsoft\/CollectServiceFabricData\/releases\/latest\n\n###\nGET https:\/\/www.w3.org\/services\/html2txt?url=https:\/\/devblogs.microsoft.com\/powershell\/arm-dsc-extension-settings\/\n###\n\n\n###\n@cluster = sfjagilber1nt3\n@location = eastus\n@apiversion = 6.4\n@managementPort = 19080\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/BackupRestore\/BackupPolicies?api-version={{apiversion}}\n\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/Applications\/?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:19080\/$\/GetClusterManifest?api-version={{apiversion}}\n#https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/$\/GetClusterHealth?api-version={{apiversion}}\nGET https:\/\/{{cluster}}.{{location}}.cloudapp.azure.com:{{managementPort}}\/Explorer\n###\n\n###\n@storageAccountName = sflogsbmnjfzoagi7jc2\n@tableSasToken = ?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacupx&se=2021-03-25T10:16:34Z&st=2021-03-25T02:16:34Z&spr=https&sig=DEIyaWBlIKe0Nru1ubEbb6u5t787LwoqQ5UVWgxMoJQ%3D\n@storageObjectToQuery = fabriclog8de7b13a4137454a9ad5a356fa0c3159Api\nhttps:\/\/{{storageAccountName}}.table.core.windows.net\/{{storageObjectToQuery}}{{tableSasToken}}","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"2ac42ebd2ed7ec9eb9e678280ec9da3e74609fb6","subject":"Update example requests.","message":"Update example requests.\n","repos":"heutagogy\/heutagogy-backend,heutagogy\/heutagogy-backend","old_file":"rest.http","new_file":"rest.http","new_contents":"# -*- restclient -*-\n#\n# This file contains example requests.\n# It can be used directly with Emacs restclient plugin.\n# See https:\/\/github.com\/pashky\/restclient.el\n#\n\n:username = \"user2\"\n:password = \"pass2\"\n\n:host = 127.0.0.1:5000\n:url = http:\/\/:host\/api\/v1\n\n# Get auth token\nPOST :url\/login\nContent-Type: application\/json\n\n{\n \"username\": :username,\n \"password\": :password\n}\n\n# Put token \u2193\u2193\u2193 (use request above)\n:token = ???\n\n# Get all saved bookmarks (unauthorized)\nGET :url\/bookmarks\n\n# Get all saved bookmarks (authorized)\nGET :url\/bookmarks\nAuthorization: JWT :token\n\n# Get all saved bookmarks (bad token)\nGET :url\/bookmarks\nAuthorization: JWT 42\n\n# Save bookmark\nPOST :url\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy\/heutagogy-backend\",\n \"timestamp\": \"2016-11-19 01:31:15\"\n}\n\n# Save bookmark (no timestamp)\n# This will use current UTC time\nPOST :url\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy-backend\"\n}\n\n# Save bookmark (no title)\n# This will use url as a title\nPOST :url\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"https:\/\/github.com\/heutagogy\"\n}\n","old_contents":"# -*- restclient -*-\n#\n# This file contains example requests.\n# It can be used directly with Emacs restclient plugin.\n# See https:\/\/github.com\/pashky\/restclient.el\n#\n\n:username = \"user2\"\n:password = \"pass2\"\n\n:host = 127.0.0.1:5000\n:url = http:\/\/:host\n\n# Get auth token\nPOST :url\/login\nContent-Type: application\/json\n\n{\n \"username\": :username,\n \"password\": :password\n}\n\n# Put token \u2193\u2193\u2193 (use request above)\n:token = ???\n\n# Get all saved bookmarks (unauthorized)\nGET :url\/api\/v1\/bookmarks\n\n# Get all saved bookmarks (authorized)\nGET :url\/api\/v1\/bookmarks\nAuthorization: JWT :token\n\n# Get all saved bookmarks (bad token)\nGET :url\/api\/v1\/bookmarks\nAuthorization: JWT 42\n\n# Save bookmark\nPOST :url\/api\/v1\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy\/heutagogy-backend\",\n \"timestamp\": \"2016-11-19 01:31:15\"\n}\n\n# Save bookmark (no timestamp)\n# This will use current UTC time\nPOST :url\/api\/v1\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy-backend\"\n}\n\n# Save bookmark (no title)\n# This will use url as a title\nPOST :url\/api\/v1\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"https:\/\/github.com\/heutagogy\"\n}\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"713f242e2fa0ef045ae5a964fd02eb260dbf9155","subject":"Test abacus metadata update","message":"Test abacus metadata update\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"0644980ccee478113bcebf2490ecb309892afbd2","subject":"Add a HTTP request to test the abacus new API","message":"Add a HTTP request to test the abacus new API\n\nthis involves a hand crafted multipart request\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"893b2143d0e98a998cb84dd23602e7c78e3da2fa","subject":"Fix indentation","message":"Fix indentation\n","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/03_resources\/payout\/02_list_all_payouts\/code\/example.http","new_file":"source\/docs\/03_resources\/payout\/02_list_all_payouts\/code\/example.http","new_contents":"GET https:\/\/gocardless.com\/api\/v1\/merchants\/{MERCHANT_ID}\/payouts HTTP\/1.1\n\nHTTP\/1.1 200 OK\n[\n {\n \"amount\": \"12.37\",\n \"bank_reference\": \"JOHNSMITH-Z5DRM\",\n \"app_ids\": [\n \"ABC\"\n ],\n \"created_at\": \"2013-05-10T16:34:34Z\",\n \"id\": \"0BKR1AZNJF\",\n \"paid_at\": \"2013-05-10T17:00:26Z\",\n \"transaction_fees\": \"0.13\"\n },\n {\n \"amount\": \"148.50\",\n \"bank_reference\": \"JOHNSMITH-A6GCK\",\n \"app_ids\": [\n \"BCD\"\n ],\n \"created_at\": \"2013-05-27T18:28:12Z\",\n \"id\": \"0BER2BDFRT\",\n \"paid_at\": \"2013-05-27T19:00:23Z\",\n \"transaction_fees\": \"1.50\"\n }\n]\n","old_contents":"GET https:\/\/gocardless.com\/api\/v1\/merchants\/{MERCHANT_ID}\/payouts HTTP\/1.1\n\nHTTP\/1.1 200 OK\n[\n {\n \"amount\": \"12.37\",\n \"bank_reference\": \"JOHNSMITH-Z5DRM\",\n \"app_ids\": [\n \"ABC\"\n ],\n \"created_at\": \"2013-05-10T16:34:34Z\",\n \"id\": \"0BKR1AZNJF\",\n \"paid_at\": \"2013-05-10T17:00:26Z\",\n \"transaction_fees\": \"0.13\"\n },\n {\n \"amount\": \"148.50\",\n \"bank_reference\": \"JOHNSMITH-A6GCK\",\n \"app_ids\": [\n \"BCD\"\n ],\n \"created_at\": \"2013-05-27T18:28:12Z\",\n \"id\": \"0BER2BDFRT\",\n \"paid_at\": \"2013-05-27T19:00:23Z\",\n \"transaction_fees\": \"1.50\"\n }\n]\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"02d05df66b0cd2a2498d65c01562aed7a09c87b1","subject":"Add delete example to rest.http","message":"Add delete example to rest.http\n","repos":"heutagogy\/heutagogy-backend,heutagogy\/heutagogy-backend","old_file":"rest.http","new_file":"rest.http","new_contents":"# -*- restclient -*-\n#\n# This file contains example requests.\n# It can be used directly with Emacs restclient plugin.\n# See https:\/\/github.com\/pashky\/restclient.el\n#\n\n:username = \"user2\"\n:password = \"pass2\"\n\n:host = 127.0.0.1:5000\n:url = http:\/\/:host\/api\/v1\n\n# Get auth token\nPOST :url\/login\nContent-Type: application\/json\n\n{\n \"username\": :username,\n \"password\": :password\n}\n\n# Put token \u2193\u2193\u2193 (use request above)\n:token = ???\n\n# Get all saved bookmarks (unauthorized)\nGET :url\/bookmarks\n\n# Get all saved bookmarks (authorized)\nGET :url\/bookmarks\nAuthorization: JWT :token\n\n# Get all saved bookmarks (bad token)\nGET :url\/bookmarks\nAuthorization: JWT 42\n\n# Save bookmark\nPOST :url\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy\/heutagogy-backend\",\n \"timestamp\": \"2016-11-19T01:31:15\"\n}\n\n# Save bookmark (no timestamp)\n# This will use current UTC time\nPOST :url\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy-backend\"\n}\n\n# Save bookmark (no title)\n# This will use url as a title\nPOST :url\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"https:\/\/github.com\/heutagogy\"\n}\n\n# Delete bookmark\n# Put \u2193\u2193\u2193 article id to delete\n:id= ???\n\nDELETE :url\/bookmarks\/:id\nAuthorization: JWT :token","old_contents":"# -*- restclient -*-\n#\n# This file contains example requests.\n# It can be used directly with Emacs restclient plugin.\n# See https:\/\/github.com\/pashky\/restclient.el\n#\n\n:username = \"user2\"\n:password = \"pass2\"\n\n:host = 127.0.0.1:5000\n:url = http:\/\/:host\/api\/v1\n\n# Get auth token\nPOST :url\/login\nContent-Type: application\/json\n\n{\n \"username\": :username,\n \"password\": :password\n}\n\n# Put token \u2193\u2193\u2193 (use request above)\n:token = ???\n\n# Get all saved bookmarks (unauthorized)\nGET :url\/bookmarks\n\n# Get all saved bookmarks (authorized)\nGET :url\/bookmarks\nAuthorization: JWT :token\n\n# Get all saved bookmarks (bad token)\nGET :url\/bookmarks\nAuthorization: JWT 42\n\n# Save bookmark\nPOST :url\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy\/heutagogy-backend\",\n \"timestamp\": \"2016-11-19T01:31:15\"\n}\n\n# Save bookmark (no timestamp)\n# This will use current UTC time\nPOST :url\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy-backend\"\n}\n\n# Save bookmark (no title)\n# This will use url as a title\nPOST :url\/bookmarks\nAuthorization: JWT :token\nContent-Type: application\/json\n\n{\n \"url\": \"https:\/\/github.com\/heutagogy\"\n}\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"8150979fc661a883243e21c67a1296a8ea680316","subject":"refactor request examples","message":"refactor request examples\n\nalso, add example with no title and no timestamp.\n","repos":"heutagogy\/heutagogy-backend,heutagogy\/heutagogy-backend","old_file":"rest.http","new_file":"rest.http","new_contents":"# -*- restclient -*-\n#\n# This file contains example requests.\n# It can be used directly with Emacs restclient plugin.\n# See https:\/\/github.com\/pashky\/restclient.el\n#\n\n:host = http:\/\/127.0.0.1:5000\n\n# Hello, world!\nGET :host\/\n\n# Get all saved bookmarks\nGET :host\/api\/v1\/bookmarks\n\n# Save bookmark\nPOST :host\/api\/v1\/bookmarks\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy\/heutagogy-backend\",\n \"timestamp\": \"2016-11-19 01:31:15\"\n}\n\n# Save bookmark (no timestamp)\n# This will use current time\nPOST :host\/api\/v1\/bookmarks\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy-backend\"\n}\n\n# Save bookmark (no title)\n# This will use url as a title\nPOST :host\/api\/v1\/bookmarks\nContent-Type: application\/json\n\n{\n \"url\": \"https:\/\/github.com\/heutagogy\"\n}","old_contents":"# -*- restclient -*-\n#\n# This file contains example requests.\n# It can be used directly with Emacs restclient plugin.\n# See https:\/\/github.com\/pashky\/restclient.el\n#\n\n# Hello, world!\nGET http:\/\/127.0.0.1:5000\n\n# Get all saved bookmarks\nGET http:\/\/127.0.0.1:5000\/api\/v1\/bookmarks\n\n# Save bookmark\nPOST http:\/\/127.0.0.1:5000\/api\/v1\/bookmarks\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy\/heutagogy-backend\",\n \"timestamp\": \"2016-11-19 01:31:15\"\n}\n\n# Save bookmark (no timestamp)\nPOST http:\/\/127.0.0.1:5000\/api\/v1\/bookmarks\nContent-Type: application\/json\n\n{\n \"url\": \"http:\/\/github.com\/heutagogy\/heutagogy-backend\",\n \"title\": \"heutagogy-backend\"\n}","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"2190876079a9ed1158eaaff0d73227306e488810","subject":"Fjernet mappe for \u00e5 legge til igjen","message":"Fjernet mappe for \u00e5 legge til igjen\n","repos":"sebastian-steinmann\/kodi-repo,sebastian-steinmann\/kodi-repo","old_file":"service.subtitles.http","new_file":"service.subtitles.http","new_contents":"","old_contents":"","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"f7a2c8a59370a74bd7765c65c908b8719933a0ea","subject":"cleanup","message":"cleanup\n","repos":"bellrichm\/weather,bellrichm\/weather,bellrichm\/weather,bellrichm\/weather,bellrichm\/weather","old_file":"api\/src\/BellRichM.Weather.Api\/Conditions.http","new_file":"api\/src\/BellRichM.Weather.Api\/Conditions.http","new_contents":"","old_contents":"GET http:\/\/localhost:5000\/api\/conditions\n\n###\nPOST http:\/\/localhost:5000\/api\/conditions\n\n###","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"3d5ea4db663ed2e99788c202a744ae23cf49c1b9","subject":"Remove trailing comma in JSON in API_PLAYGROUND","message":"Remove trailing comma in JSON in API_PLAYGROUND\n","repos":"mike-north\/pwa-fundamentals,mike-north\/pwa-fundamentals,mike-north\/pwa-fundamentals","old_file":"API_PLAYGROUND.http","new_file":"API_PLAYGROUND.http","new_contents":"##############################\n# GROCERY ITEM CATEGORIES\n##############################\n\nGET https:\/\/localhost:3100\/api\/grocery\/categories\n\n##############################\n# GROCERY ITEMS\n##############################\n\nGET https:\/\/localhost:3100\/api\/grocery\/items\n\n###\n# By default this returns 10 items, but we can ask for more with the limit queryparam\n\nGET https:\/\/localhost:3100\/api\/grocery\/items?limit=2\n\n###\n# Or \"offset\" the list of results (i.e., for pagination)\n\nGET https:\/\/localhost:3100\/api\/grocery\/items?offset=10\n\n###\n# We can also filter by category\n\nGET https:\/\/localhost:3100\/api\/grocery\/items?category=fruit\n\n\n##############################\n# CURRENT SHOPPING CART\n##############################\n\n###\n# You can set the contents of your shopping cart as follows.\n\nPUT https:\/\/localhost:3100\/api\/cart\/items HTTP\/1.1\ncontent-type: application\/json\n\n{\"data\":\n [\n {\"groceryItem\": { \"id\": 132 }, \"qty\": 9},\n {\"groceryItem\": { \"id\": 134 }, \"qty\": 2},\n {\"groceryItem\": { \"id\": 118 }, \"qty\": 1}\n ]\n}\n\n##############################\n# ORDER\n##############################\n\n###\n# Get a collection of orders in the system\n\nGET https:\/\/localhost:3100\/api\/orders HTTP\/1.1\n\n###\n# Create a new order. This will result in all cart items being removed\n# and a new order being created (and returned)\n\nPOST https:\/\/localhost:3100\/api\/order HTTP\/1.1\ncontent-type: application\/json\n\n{\"data\":\n [\n {\"groceryItem\": { \"id\": 132 }, \"qty\": 9},\n {\"groceryItem\": { \"id\": 134 }, \"qty\": 2},\n {\"groceryItem\": { \"id\": 118 }, \"qty\": 1}\n ]\n}\n\n##############################\n# PUSH-SUBSCRIPTION\n##############################\nPOST https:\/\/localhost:3100\/api\/push-subscription HTTP\/1.1\ncontent-type: application\/json\n\n{\"endpoint\":\"https:\/\/fcm.googleapis.com\/fcm\/send\/d5zr78aM0Is:APA91bFsdo7JWQuclBoGdOxnenu\u2026i4CAxUgoSMXYK3khDYnXNYdKD34JSW7gDTfk5rSA_UN7CIjKG5aekHy2UFEWTaN1fsl7gMeN4q\",\"keys\":{\"p256dh\":\"BIf4WiWDEnPBluoQaxfyg6JGEX73LIT11tuB9p2MbIQF6paYdDA301gSITCVBjfGpur1v3UfuSsZULYbc1UGOFs=\",\"auth\":\"5hU-ISOurqOJ6tVEEufUNw==\"}}\n","old_contents":"##############################\n# GROCERY ITEM CATEGORIES\n##############################\n\nGET https:\/\/localhost:3100\/api\/grocery\/categories\n\n##############################\n# GROCERY ITEMS \n##############################\n\nGET https:\/\/localhost:3100\/api\/grocery\/items\n\n###\n# By default this returns 10 items, but we can ask for more with the limit queryparam\n\nGET https:\/\/localhost:3100\/api\/grocery\/items?limit=2\n\n###\n# Or \"offset\" the list of results (i.e., for pagination)\n\nGET https:\/\/localhost:3100\/api\/grocery\/items?offset=10\n\n###\n# We can also filter by category\n\nGET https:\/\/localhost:3100\/api\/grocery\/items?category=fruit\n\n\n##############################\n# CURRENT SHOPPING CART\n##############################\n\n###\n# You can set the contents of your shopping cart as follows.\n\nPUT https:\/\/localhost:3100\/api\/cart\/items HTTP\/1.1\ncontent-type: application\/json\n\n{\"data\":\n [\n {\"groceryItem\": { \"id\": 132 }, \"qty\": 9},\n {\"groceryItem\": { \"id\": 134 }, \"qty\": 2},\n {\"groceryItem\": { \"id\": 118 }, \"qty\": 1},\n ]\n}\n\n##############################\n# ORDER\n##############################\n\n###\n# Get a collection of orders in the system\n\nGET https:\/\/localhost:3100\/api\/orders HTTP\/1.1\n\n###\n# Create a new order. This will result in all cart items being removed\n# and a new order being created (and returned)\n\nPOST https:\/\/localhost:3100\/api\/order HTTP\/1.1\ncontent-type: application\/json\n\n{\"data\":\n [\n {\"groceryItem\": { \"id\": 132 }, \"qty\": 9},\n {\"groceryItem\": { \"id\": 134 }, \"qty\": 2},\n {\"groceryItem\": { \"id\": 118 }, \"qty\": 1}\n ]\n}\n\n##############################\n# PUSH-SUBSCRIPTION\n##############################\nPOST https:\/\/localhost:3100\/api\/push-subscription HTTP\/1.1\ncontent-type: application\/json\n\n{\"endpoint\":\"https:\/\/fcm.googleapis.com\/fcm\/send\/d5zr78aM0Is:APA91bFsdo7JWQuclBoGdOxnenu\u2026i4CAxUgoSMXYK3khDYnXNYdKD34JSW7gDTfk5rSA_UN7CIjKG5aekHy2UFEWTaN1fsl7gMeN4q\",\"keys\":{\"p256dh\":\"BIf4WiWDEnPBluoQaxfyg6JGEX73LIT11tuB9p2MbIQF6paYdDA301gSITCVBjfGpur1v3UfuSsZULYbc1UGOFs=\",\"auth\":\"5hU-ISOurqOJ6tVEEufUNw==\"}}\n","returncode":0,"stderr":"","license":"bsd-3-clause","lang":"HTTP"} {"commit":"5b7a065c5eb75f3c63470b4e63104f2f74bc906f","subject":"This request now returns 400","message":"This request now returns 400\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/files\/registrars\/renew\/badrequest-unable.http","new_file":"spec\/files\/registrars\/renew\/badrequest-unable.http","new_contents":"HTTP\/1.1 400 Bad Request\nServer: nginx\nDate: Mon, 15 Dec 2014 23:21:08 GMT\nContent-Type: application\/json; charset=utf-8\nTransfer-Encoding: chunked\nConnection: close\nStatus: 400 Bad Request\nStrict-Transport-Security: max-age=631138519\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1\nX-Content-Type-Options: nosniff\nAccess-Control-Allow-Origin: *\nAccess-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with\nAccess-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS\nCache-Control: no-cache\nX-Request-Id: 60f79466-a97b-4f6a-b3e2-95a7f22da87c\nX-Runtime: 0.060428\n\n{\"message\":\"example-1418683185.com may not be renewed at this time\"}\n","old_contents":"HTTP\/1.1 422 Unprocessable Entity\nServer: nginx\nDate: Mon, 15 Dec 2014 23:21:08 GMT\nContent-Type: application\/json; charset=utf-8\nTransfer-Encoding: chunked\nConnection: close\nStatus: 422 Unprocessable Entity\nStrict-Transport-Security: max-age=631138519\nX-Frame-Options: SAMEORIGIN\nX-XSS-Protection: 1\nX-Content-Type-Options: nosniff\nAccess-Control-Allow-Origin: *\nAccess-Control-Allow-Headers: Authorization,Accepts,Content-Type,X-DNSimple-Token,X-DNSimple-Domain-Token,X-CSRF-Token,x-requested-with\nAccess-Control-Allow-Methods: GET,POST,PUT,DELETE,OPTIONS\nCache-Control: no-cache\nX-Request-Id: 60f79466-a97b-4f6a-b3e2-95a7f22da87c\nX-Runtime: 0.060428\n\n{\"message\":\"example-1418683185.com may not be renewed at this time\"}\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"118c2d0112b7577cc84e32280cf3d5be1bf404d1","subject":"Rest Client testing file","message":"Rest Client testing file\n","repos":"nchapon\/carambar","old_file":"elisp\/rest-client.http","new_file":"elisp\/rest-client.http","new_contents":"# -*- restclient -*-\n# Uses REST Client mode...\n# C-c C-v runs the query in another buffer\n# C-c C-p: jump to the previous query\n# C-c C-n: jump to the previous query\n# Testing Caramabar\n\n# Test Carambar\nGET http:\/\/localhost:3000\/\n\n# Add project\nPOST http:\/\/localhost:3000\/projects\nContent-Type: application\/json\n\n{\n \"path\": \"test_projects\/simple\"\n}\n\n# Should returns two items\nGET http:\/\/localhost:3000\/projects\/simple\/classes?search=Factory\n","old_contents":"# -*- restclient -*-\n# Uses REST Client mode...\n# C-c C-v runs the query in another buffer\n# C-c C-p: jump to the previous query\n# C-c C-n: jump to the previous query\n\n# Test Carambar\nGET http:\/\/localhost:3000\/\n\n# Add project\nPOST http:\/\/localhost:3000\/projects\nContent-Type: application\/json\n\n{\n \"path\": \"test_projects\/simple\"\n}\n\n\n# Add project from fully qualified path\nPOST http:\/\/localhost:3000\/projects\nContent-Type: application\/json\n\n{\n \"path\": \"\/home\/nchapon\/work\/clojure\/dev\/carambar\/test_projects\/simple\"\n}\n\n\n\n# Packages\nGET http:\/\/localhost:3000\/projects\/simple\/classes?search=Logger\n\n\n# Projects\nGET http:\/\/localhost:3000\/projects\n","returncode":0,"stderr":"","license":"epl-1.0","lang":"HTTP"} {"commit":"2e27154853d5e654ad47c793625a68ef8d454bac","subject":"Remove missing authcode error fixture","message":"Remove missing authcode error fixture\n\nAs it's not going to be used in the specs.\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/transferDomain\/error-missing-authcode.http","new_file":"spec\/fixtures.http\/transferDomain\/error-missing-authcode.http","new_contents":"","old_contents":"HTTP\/1.1 400 Bad Request\r\nServer: nginx\r\nDate: Sun, 21 Feb 2016 13:11:11 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nStatus: 400 Bad Request\r\nX-RateLimit-Limit: 4000\r\nX-RateLimit-Remaining: 3997\r\nX-RateLimit-Reset: 1456063540\r\nCache-Control: no-cache\r\nX-Request-Id: d7a0eb63-77eb-4488-bc55-c129ed8fe192\r\nX-Runtime: 11.912567\r\n\r\n{\"message\":\"Validation failed\",\"errors\":{\"base\":[\"You must provide an authorization code for the domain\"]}}","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"a9e3bcd3ce6dffa0aa90187586065132254b8279","subject":"Fix fixture for editing label","message":"Fix fixture for editing label\n","repos":"fgrosse\/gitlab-api","old_file":"tests\/Client\/fixtures\/labels\/create_update_or_delete_label.http","new_file":"tests\/Client\/fixtures\/labels\/create_update_or_delete_label.http","new_contents":"HTTP\/1.1 200 OK\nContent-Type: application\/json\n\n{\n \"name\": \"Awesome\",\n \"color\": \"#DD10AA\"\n}\n","old_contents":"HTTP\/1.1 200 OK\nContent-Type: application\/json\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"fce81297da87b6a41dd09609d2e9c03a63afa1ff","subject":"Indentation","message":"Indentation\n","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/03_resources\/bill\/04_list_all_bills\/code\/example.http","new_file":"source\/docs\/03_resources\/bill\/04_list_all_bills\/code\/example.http","new_contents":"GET https:\/\/gocardless.com\/api\/v1\/merchants\/{MERCHANT_ID}\/bills HTTP\/1.1\n\nHTTP\/1.1 200 OK\n[\n {\n \"amount\": \"44.0\",\n \"gocardless_fees\": \"0.44\",\n \"partner_fees\": \"0\",\n \"currency\": \"GBP\",\n \"created_at\": \"2013-08-20T21: 41: 25Z\",\n \"description\": \"Month 2 payment\",\n \"id\": \"123ABC\",\n \"name\": \"Bill 2 for Subscription description\",\n \"paid_at\": null,\n \"status\": \"pending\",\n \"merchant_id\": \"06Z06JWQW1\",\n \"user_id\": \"FIVWCCVEST6S4D\",\n \"source_type\": \"subscription\",\n \"source_id\": \"YH1VEVQHYVB1UT\",\n \"uri\": \"https:\/\/gocardless.com\/api\/v1\/bills\/123ABC\",\n \"can_be_retried\": false,\n \"payout_id\": \"09ERD0XC54\",\n \"is_setup_fee\": false,\n \"charge_customer_at\": \"2013-09-01\"\n }\n]\n","old_contents":"GET https:\/\/gocardless.com\/api\/v1\/merchants\/{MERCHANT_ID}\/bills HTTP\/1.1\n\nHTTP\/1.1 200 OK\n[\n {\n \"amount\": \"44.0\",\n \"gocardless_fees\": \"0.44\",\n \"partner_fees\": \"0\",\n \"currency\": \"GBP\",\n \"created_at\": \"2013-08-20T21: 41: 25Z\",\n \"description\": \"Month 2 payment\",\n \"id\": \"123ABC\",\n \"name\": \"Bill 2 for Subscription description\",\n \"paid_at\": null,\n \"status\": \"pending\",\n \"merchant_id\": \"06Z06JWQW1\",\n \"user_id\": \"FIVWCCVEST6S4D\",\n \"source_type\": \"subscription\",\n \"source_id\": \"YH1VEVQHYVB1UT\",\n \"uri\": \"https:\/\/gocardless.com\/api\/v1\/bills\/123ABC\",\n \"can_be_retried\": false,\n \"payout_id\": \"09ERD0XC54\",\n \"is_setup_fee\": false,\n \"charge_customer_at\": \"2013-09-01\"\n }\n]\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"a7faf10f82df27cf18b8a1e08aa2148dba3add12","subject":"Better haproxy 503 page","message":"Better haproxy 503 page\n","repos":"jim-minter\/origin,pmorie\/origin,sspeiche\/origin,miminar\/origin,tnozicka\/origin,ryanj\/origin,miminar\/origin,luciddreamz\/origin,legionus\/origin,maxamillion\/origin,maxamillion\/origin,rajatchopra\/origin,soltysh\/origin,sdminonne\/origin,dinhxuanvu\/origin,ryanj\/origin,sjug\/origin,mdshuai\/origin,linzhaoming\/origin,ravisantoshgudimetla\/origin,maxamillion\/origin,mkumatag\/origin,sallyom\/origin,enj\/origin,childsb\/origin,smarterclayton\/origin,pravisankar\/origin,jupierce\/origin,pmorie\/origin,imcsk8\/origin,hferentschik\/origin,detiber\/origin,louyihua\/origin,hferentschik\/origin,hroyrh\/origin,coreydaley\/origin,legionus\/origin,raffaelespazzoli\/origin,ramr\/origin,marun\/origin,matthyx\/origin,robertol\/origin,jsafrane\/origin,ramr\/origin,elyscape\/origin,akram\/origin,tdawson\/origin,ingvagabund\/origin,goern\/origin,liggitt\/origin,sjug\/origin,miminar\/origin,matthyx\/origin,liangxia\/origin,pravisankar\/origin,sg00dwin\/origin,markllama\/origin,spadgett\/origin,goern\/origin,smarterclayton\/origin,ironcladlou\/origin,smarterclayton\/origin,tdawson\/origin,dgoodwin\/origin,hroyrh\/origin,arilivigni\/origin,mfojtik\/origin,rrati\/origin,abutcher\/origin,ramr\/origin,sdminonne\/origin,mfojtik\/origin,ravisantoshgudimetla\/origin,luciddreamz\/origin,jpeeler\/origin,kargakis\/origin,luciddreamz\/origin,robertol\/origin,anpingli\/origin,csrwng\/origin,dinhxuanvu\/origin,miminar\/origin,legionus\/origin,miminar\/origin,elyscape\/origin,thrasher-redhat\/origin,rajatchopra\/origin,coreydaley\/origin,spadgett\/origin,raffaelespazzoli\/origin,markllama\/origin,jwhonce\/origin,mkumatag\/origin,stevekuznetsov\/origin,csrwng\/origin,imcsk8\/origin,arilivigni\/origin,rootfs\/origin,mdshuai\/origin,deads2k\/origin,liggitt\/origin,hferentschik\/origin,tnozicka\/origin,linzhaoming\/origin,ryanj\/origin,childsb\/origin,ravisantoshgudimetla\/origin,rhcarvalho\/origin,pmorie\/origin,thrasher-redhat\/origin,pecameron\/origin,rhamilto\/origin,sferich888\/origin,coreydaley\/origin,adelton\/origin,robertol\/origin,detiber\/origin,enj\/origin,detiber\/origin,mfojtik\/origin,deads2k\/origin,rhcarvalho\/origin,miminar\/origin,stevekuznetsov\/origin,sg00dwin\/origin,childsb\/origin,rhcarvalho\/origin,soltysh\/origin,pmorie\/origin,louyihua\/origin,xiuwang\/origin,sg00dwin\/origin,juanvallejo\/origin,kargakis\/origin,rootfs\/origin,pweil-\/origin,mrogers950\/origin,raffaelespazzoli\/origin,sdminonne\/origin,ncdc\/origin,liggitt\/origin,wanghaoran1988\/origin,wanghaoran1988\/origin,ryanj\/origin,hferentschik\/origin,legionus\/origin,thrasher-redhat\/origin,tnozicka\/origin,JacobTanenbaum\/origin,aveshagarwal\/origin,arilivigni\/origin,jsafrane\/origin,mdshuai\/origin,PI-Victor\/origin,jpeeler\/origin,childsb\/origin,ingvagabund\/origin,PI-Victor\/origin,pravisankar\/origin,dmage\/origin,mahak\/origin,mdshuai\/origin,mrogers950\/origin,php-coder\/origin,ncdc\/origin,soltysh\/origin,php-coder\/origin,csrwng\/origin,legionus\/origin,jeremyeder\/origin,mkumatag\/origin,ravisantoshgudimetla\/origin,aveshagarwal\/origin,pecameron\/origin,childsb\/origin,jeremyeder\/origin,mdshuai\/origin,dobbymoodge\/origin,ramr\/origin,matthyx\/origin,rajatchopra\/origin,linzhaoming\/origin,elyscape\/origin,jsafrane\/origin,rrati\/origin,spadgett\/origin,danmcp\/origin,sspeiche\/origin,chlunde\/origin,jeremyeder\/origin,stevekuznetsov\/origin,hferentschik\/origin,jim-minter\/origin,liangxia\/origin,jim-minter\/origin,rootfs\/origin,rhcarvalho\/origin,kargakis\/origin,simo5\/origin,arilivigni\/origin,rajatchopra\/origin,eparis\/origin,dcbw\/origin,simo5\/origin,elyscape\/origin,luciddreamz\/origin,bparees\/origin,markllama\/origin,simo5\/origin,dcbw\/origin,eparis\/origin,matthyx\/origin,wjiangjay\/origin,jupierce\/origin,jeremyeder\/origin,mdshuai\/origin,ncdc\/origin,goern\/origin,juanvallejo\/origin,bparees\/origin,chlunde\/origin,jupierce\/origin,dcbw\/origin,dmage\/origin,deads2k\/origin,Miciah\/origin,PI-Victor\/origin,ryanj\/origin,sallyom\/origin,Miciah\/origin,pravisankar\/origin,dinhxuanvu\/origin,abutcher\/origin,hferentschik\/origin,ravisantoshgudimetla\/origin,nhr\/origin,danmcp\/origin,kargakis\/origin,rhamilto\/origin,PI-Victor\/origin,JacobTanenbaum\/origin,marun\/origin,PI-Victor\/origin,ironcladlou\/origin,nhr\/origin,akram\/origin,wanghaoran1988\/origin,rootfs\/origin,eparis\/origin,wjiangjay\/origin,detiber\/origin,rhcarvalho\/origin,dmage\/origin,mahak\/origin,matthyx\/origin,childsb\/origin,rrati\/origin,luciddreamz\/origin,abutcher\/origin,marun\/origin,tdawson\/origin,dobbymoodge\/origin,anpingli\/origin,thrasher-redhat\/origin,louyihua\/origin,markllama\/origin,dgoodwin\/origin,kargakis\/origin,aveshagarwal\/origin,pweil-\/origin,gabemontero\/origin,wjiangjay\/origin,akram\/origin,rrati\/origin,openshift\/origin,jwhonce\/origin,danmcp\/origin,dobbymoodge\/origin,xiuwang\/origin,liggitt\/origin,imcsk8\/origin,imcsk8\/origin,dmage\/origin,jwhonce\/origin,liggitt\/origin,dinhxuanvu\/origin,dobbymoodge\/origin,jeremyeder\/origin,chlunde\/origin,ncdc\/origin,sallyom\/origin,abutcher\/origin,marun\/origin,enj\/origin,mrogers950\/origin,dcbw\/origin,php-coder\/origin,rrati\/origin,adelton\/origin,abutcher\/origin,php-coder\/origin,liangxia\/origin,nhr\/origin,openshift\/origin,smarterclayton\/origin,tdawson\/origin,juanvallejo\/origin,robertol\/origin,mrogers950\/origin,PI-Victor\/origin,danmcp\/origin,louyihua\/origin,tnozicka\/origin,wjiangjay\/origin,Miciah\/origin,php-coder\/origin,dcbw\/origin,maxamillion\/origin,spadgett\/origin,robertol\/origin,imcsk8\/origin,hroyrh\/origin,jupierce\/origin,gabemontero\/origin,sferich888\/origin,jpeeler\/origin,smarterclayton\/origin,jwhonce\/origin,sjug\/origin,aveshagarwal\/origin,chlunde\/origin,rhamilto\/origin,JacobTanenbaum\/origin,mahak\/origin,juanvallejo\/origin,jpeeler\/origin,rajatchopra\/origin,robertol\/origin,adelton\/origin,ryanj\/origin,aveshagarwal\/origin,liangxia\/origin,rhamilto\/origin,louyihua\/origin,nhr\/origin,ironcladlou\/origin,linzhaoming\/origin,nak3\/origin,pravisankar\/origin,juanvallejo\/origin,kargakis\/origin,openshift\/origin,liangxia\/origin,mrogers950\/origin,detiber\/origin,xiuwang\/origin,liggitt\/origin,imcsk8\/origin,jupierce\/origin,jpeeler\/origin,linzhaoming\/origin,goern\/origin,nhr\/origin,adelton\/origin,wanghaoran1988\/origin,dgoodwin\/origin,raffaelespazzoli\/origin,jwhonce\/origin,pweil-\/origin,dgoodwin\/origin,sg00dwin\/origin,nak3\/origin,dobbymoodge\/origin,mrogers950\/origin,wjiangjay\/origin,jwhonce\/origin,wanghaoran1988\/origin,luciddreamz\/origin,ramr\/origin,sspeiche\/origin,stevekuznetsov\/origin,dinhxuanvu\/origin,maxamillion\/origin,liangxia\/origin,tnozicka\/origin,sferich888\/origin,adelton\/origin,simo5\/origin,markllama\/origin,dgoodwin\/origin,elyscape\/origin,rhamilto\/origin,anpingli\/origin,php-coder\/origin,markllama\/origin,simo5\/origin,nak3\/origin,ingvagabund\/origin,dobbymoodge\/origin,sspeiche\/origin,rajatchopra\/origin,bparees\/origin,eparis\/origin,tnozicka\/origin,pmorie\/origin,spadgett\/origin,wjiangjay\/origin,rootfs\/origin,juanvallejo\/origin,pecameron\/origin,gabemontero\/origin","old_file":"images\/router\/haproxy\/conf\/error-page-503.http","new_file":"images\/router\/haproxy\/conf\/error-page-503.http","new_contents":"HTTP\/1.0 503 Service Unavailable\nPragma: no-cache\nCache-Control: private, max-age=0, no-cache, no-store\nConnection: close\nContent-Type: text\/html\n\n<html>\n <head>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <style type=\"text\/css\">\n \/*!\n * Bootstrap v3.3.5 (http:\/\/getbootstrap.com)\n * Copyright 2011-2015 Twitter, Inc.\n * Licensed under MIT (https:\/\/github.com\/twbs\/bootstrap\/blob\/master\/LICENSE)\n *\/\n \/*! normalize.css v3.0.3 | MIT License | github.com\/necolas\/normalize.css *\/\n html {\n font-family: sans-serif;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n }\n body {\n margin: 0;\n }\n h1 {\n font-size: 1.7em;\n font-weight: 400;\n line-height: 1.3;\n margin: 0.68em 0;\n }\n * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n *:before,\n *:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n html {\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n }\n body {\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n line-height: 1.66666667;\n font-size: 13px;\n color: #333333;\n background-color: #ffffff;\n margin: 2em 1em;\n }\n p {\n margin: 0 0 10px;\n font-size: 13px;\n }\n .alert.alert-info {\n padding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n background-color: #f5f5f5;\n border-color: #8b8d8f;\n color: #363636;\n margin-top: 30px;\n }\n .alert p {\n padding-left: 35px;\n }\n a {\n color: #0088ce;\n }\n\n ul {\n position: relative;\n padding-left: 51px;\n }\n p.info {\n position: relative;\n font-size: 15px;\n margin-bottom: 10px;\n }\n p.info:before, p.info:after {\n content: \"\";\n position: absolute;\n top: 9%;\n left: 0;\n }\n p.info:before {\n content: \"i\";\n left: 3px;\n width: 20px;\n height: 20px;\n font-family: serif;\n font-size: 15px;\n font-weight: bold;\n line-height: 21px;\n text-align: center;\n color: #fff;\n background: #4d5258;\n border-radius: 16px;\n }\n\n @media (min-width: 768px) {\n body {\n margin: 4em 3em;\n }\n h1 {\n font-size: 2.15em;}\n }\n\n <\/style>\n <\/head>\n <body>\n <div>\n <h1>Application is not available<\/h1>\n <p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.<\/p>\n\n <div class=\"alert alert-info\">\n <p class=\"info\">\n Possible reasons you are seeing this page:\n <\/p>\n <ul>\n <li>\n <strong>The host doesn't exist.<\/strong>\n Make sure the hostname was typed correctly and that a route matching this hostname exists.\n <\/li>\n <li>\n <strong>The host exists, but doesn't have a matching path.<\/strong>\n Check if the URL path was typed correctly and that the route was created using the desired path.\n <\/li>\n <li>\n <strong>Route and path matches, but all pods are down.<\/strong>\n Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.\n <\/li>\n <\/ul>\n <\/div>\n <\/div>\n <\/body>\n<\/html>\n","old_contents":"HTTP\/1.0 503 Service Unavailable\nPragma: no-cache\nCache-Control: private, max-age=0, no-cache, no-store\nConnection: close\nContent-Type: text\/html\n\n<html>\n <head>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <style type=\"text\/css\">\n \/*!\n * Bootstrap v3.3.5 (http:\/\/getbootstrap.com)\n * Copyright 2011-2015 Twitter, Inc.\n * Licensed under MIT (https:\/\/github.com\/twbs\/bootstrap\/blob\/master\/LICENSE)\n *\/\n \/*! normalize.css v3.0.3 | MIT License | github.com\/necolas\/normalize.css *\/\n html {\n font-family: sans-serif;\n -ms-text-size-adjust: 100%;\n -webkit-text-size-adjust: 100%;\n }\n body {\n margin: 0;\n }\n h1 {\n font-size: 1.9em;\n font-weight: 400;\n line-height: 1.3;\n margin: 0.68em 0;\n }\n @media (min-width: 768px) { \n h1 {\n font-size: 2.15em;}\n }\n * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n *:before,\n *:after {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n }\n html {\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n }\n body {\n font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n line-height: 1.66666667;\n font-size: 13px;\n color: #333333;\n background-color: #ffffff;\n margin: 4em 3em;\n }\n p {\n margin: 0 0 10px;\n font-size: 13px;\n font-weight: 300;\n line-height: 1.4;\n }\n @media (min-width: 768px) {\n p {\n font-size: 14px;\n }\n }\n <\/style>\n <\/head>\n <body>\n <div>\n <h1>Application is not available<\/h1>\n <p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.<\/p>\n <\/div>\n <\/body>\n<\/html>\n","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"f076280298907dd6b8ca8356dce670d9ef04d759","subject":"Fix the test API calls","message":"Fix the test API calls\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?search=DY33722\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPOST http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Neue Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n","old_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n\n##########################\n# Repairing a production #\n##########################\n\n# Repair a production\nPOST http:\/\/localhost:3000\/api\/productions\/31356\/repair\nAccept: application\/json\n\n# Repair a production which is not archived\n# should produce a 409\nPOST http:\/\/localhost:3000\/api\/productions\/31412\/repair\nAccept: application\/json\n\n# Repair a production which doesn't exist\n# should produce a 404\nPOST http:\/\/localhost:3000\/api\/productions\/3000000\/repair\nAccept: application\/json\n\n##############\n# Abacus API #\n##############\n\n# Add a production\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN1_DY99999.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <language>de<\/language>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Add a production with faulty xml (missing language)\nPOST http:\/\/localhost:3000\/api\/abacus\/new\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocAdd\">\r\n <artikel_nr>DY99997<\/artikel_nr>\r\n <priority>none<\/priority>\r\n <deadline>2015-06-29<\/deadline>\r\n <title>Test - whout<\/title>\r\n <process_status>New<\/process_status>\r\n <is_meta>yes<\/is_meta>\r\n <mvl_only>no<\/mvl_only>\r\n <MetaData>\r\n <dc>\r\n <title>Test - whout<\/title>\r\n <creator>Test - Gubser, Paul<\/creator>\r\n <source>978-3-570-15263-0<\/source>\r\n <date>2015-06-29<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY99997<\/idVorstufe>\r\n <printPageNumber>103<\/printPageNumber>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Paul Gubser<\/sourcePublisher>\r\n <sourceDate>1967<\/sourceDate>\r\n <narrator>N.N.<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-06-25<\/revisionDate>\r\n <VubisRecordID>378657<\/VubisRecordID>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Mark a production as recorded\nPOST http:\/\/localhost:3000\/api\/abacus\/recorded\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SN3_DY15745.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n\t<artikel_nr>DY15745<\/artikel_nr>\r\n\t<identifier>dam15388<\/identifier>\r\n\t<priority>none<\/priority>\r\n\t<deadline>2014-03-03<\/deadline>\r\n\t<title>Die lustigen Jungs von Atzavara<\/title>\r\n\t<old_process_status>Structured<\/old_process_status>\r\n\t<process_status>Recorded<\/process_status>\r\n\t<MetaData>\r\n <dc>\r\n <title>Die lustigen Jungs von Atzavara<\/title>\r\n <creator>V\u00e1zquez Montalb\u00e1n, Manuel<\/creator>\r\n <source>3-8031-2356-9<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15388<\/identifier>\r\n <date>2014-03-07<\/date>\r\n <\/dc>\r\n <sbs>\r\n <printPageNumber>316<\/printPageNumber>\r\n <idMaster>dam15388<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54130<\/kostenstelle>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Wagenbach<\/sourcePublisher>\r\n <sourceDate>2002<\/sourceDate>\r\n <narrator>Madrid, Venus<\/narrator>\r\n <narrator>St\u00f6rmer, Cathrin<\/narrator>\r\n <narrator>Hitz, Heiner<\/narrator>\r\n <narrator>Sch\u00e4tzle, Claudia<\/narrator>\r\n <narrator>Steccanella, Manuel<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2014-03-03<\/revisionDate>\r\n <\/ncc>\r\n\t<\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Request the status of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/status\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNStatus_DY90001.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam20006<\/identifier>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY11817<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n\n# Update the metadata of a (non-existing) production\nPOST http:\/\/localhost:3000\/api\/abacus\/metadata\nAccept: application\/json\nContent-Type: multipart\/form-data; boundary=e82bc39c68f1417d9ea12c5456182f3c\n\n--e82bc39c68f1417d9ea12c5456182f3c\nContent-Disposition: form-data; name=\"file\"; filename=\"SNMeta_DY10339.xml\"\r\nContent-Type: application\/xml\r\n\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<AbaConnectContainer>\r\n <Task>\r\n <Parameter>\r\n <Application>MadrasApi<\/Application>\r\n <Id>Document<\/Id>\r\n <Version>1.0<\/Version>\r\n <\/Parameter>\r\n <Transaction>\r\n <DocumentData command=\"mdaDocModify\">\r\n <artikel_nr>DY90001<\/artikel_nr>\r\n <identifier>dam15562<\/identifier>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <MetaData>\r\n <dc>\r\n <title>Die L\u00f6wenbraut<\/title>\r\n <creator>Treichler, Hans Peter<\/creator>\r\n <source>978-3-85823-796-5<\/source>\r\n <language>de<\/language>\r\n <identifier>dam15562<\/identifier>\r\n <date>2008-07-08<\/date>\r\n <\/dc>\r\n <sbs>\r\n <idVorstufe>DY10339<\/idVorstufe>\r\n <printPageNumber>336<\/printPageNumber>\r\n <idMaster>dam15562<\/idMaster>\r\n <idPrint>0<\/idPrint>\r\n <kostenstelle>54120<\/kostenstelle>\r\n <jahr>1999<\/jahr>\r\n <\/sbs>\r\n <ncc>\r\n <sourcePublisher>Alte Z\u00fcrcher Zeitung<\/sourcePublisher>\r\n <sourceDate>1999<\/sourceDate>\r\n <narrator>Treichler, Hans Peter<\/narrator>\r\n <setInfo>1<\/setInfo>\r\n <revisionDate>2015-04-15<\/revisionDate>\r\n <\/ncc>\r\n <\/MetaData>\r\n <\/DocumentData>\r\n <\/Transaction>\r\n <\/Task>\r\n<\/AbaConnectContainer>\r\n--e82bc39c68f1417d9ea12c5456182f3c--\r\n","returncode":0,"stderr":"","license":"agpl-3.0","lang":"HTTP"} {"commit":"d359fbd381c7b0c9a3ad97256f0fa3d5d384d8a1","subject":"feat: create announcement http shorthand for dev","message":"feat: create announcement http shorthand for dev\n","repos":"Kaniwani\/KW-Frontend,Kaniwani\/KW-Frontend","old_file":"app\/common\/data\/api\/requests.http","new_file":"app\/common\/data\/api\/requests.http","new_contents":"# This file is for quickly getting REST results in VSCODE using\n# https:\/\/github.com\/Huachao\/vscode-restclient\/blob\/master\/README.md\n@host = https:\/\/staging.kaniwani.com\/api\/v1\n@auth = authorization: JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyMTIxLCJ1c2VybmFtZSI6IlN1YnZlcnNpdHkiLCJleHAiOjE1MTYyNDgyODgsImVtYWlsIjoiZHVuY2FuLmJheUBnbWFpbC5jb20ifQ.IN_0ghpZSnnFb0UdzcWy3uo9uVk6eCrEfeUWsM70KYU\n@contentType = content-type: application\/json\n\n### fetch user\nGET {{host}}\/user\/me\n{{auth}}\n{{contentType}}\n\n### create announcement\nPOST {{host}}\/announcement\/\n{{auth}}\n{{contentType}}\n\n{\n \"title\": \"Welcome 2.0 Beta Testers\",\n \"body\": \"<p>Please report any errors via the Contact form. However for vocab, any missing data \/ dodgy sentences you can report via the orange bug icon.<\/p>\"\n}\n\n### fetch announcements\nGET {{host}}\/announcement\/\n{{auth}}\n{{contentType}}\n\n### search vocab by meaning\nGET {{host}}\/vocabulary\/\n ?meaning_contains=two\n{{auth}}\n{{contentType}}\n\n### search vocab by reading\nGET {{host}}\/vocabulary\/\n ?reading_contains=\u3042\u306a\n{{auth}}\n{{contentType}}\n\n### fetch vocab by id\nGET {{host}}\/vocabulary\/20\/\n{{auth}}\n{{contentType}}\n\n### fetch review by id\nGET {{host}}\/review\/2696518\/\n{{auth}}\n{{contentType}}\n\n### search reviews\n# srs_level\n# srs_level_gt\n# srs_level_lt\n# part_of_speech\n# wanikani_burned\n# level\n# meaning_contains\nGET {{host}}\/review\/\n ?level=20\n{{auth}}\n{{contentType}}\n\n### fetch levels\nGET {{host}}\/level\/\n{{auth}}\n{{contentType}}\n\n### lock level\nPOST {{host}}\/level\/2\/lock\/\n{{auth}}\n{{contentType}}\n\n### unlock level\nPOST {{host}}\/level\/2\/unlock\/\n{{auth}}\n{{contentType}}\n\n### fetch lessons queue (stubbed entries!)\nGET {{host}}\/review\/lesson\/?limit=100\n{{auth}}\n{{contentType}}\n\n### fetch review queue (stubbed entries!)\nGET {{host}}\/review\/current\/?limit=100\n{{auth}}\n{{contentType}}\n\n### hide review\n# 204 no content\nPOST {{host}}\/review\/3952861\/hide\/\n{{auth}}\n{{contentType}}\n\n### unhide review\n# 204 no content\nPOST {{host}}\/review\/3952861\/unhide\/\n{{auth}}\n{{contentType}}\n\n### record quiz answer\n# 204 no content, already answered is 403 with text\n@correctid = 3952861\n# or incorrect\n@slug = correct\nPOST {{host}}\/review\/{{correctid}}\/{{slug}}\/\n{{auth}}\n{{contentType}}\n\n{\n \"user_specific_id\": \"{{correctid}}\",\n \"user_correct\": \"true\",\n \"wrong_before\": \"false\"\n}\n\n### create reading synonym\n# returns new synonym entry with id\nPOST {{host}}\/synonym\/reading\/\n{{auth}}\n{{contentType}}\n\n{\n \"review\": \"2696518\",\n \"character\": \"\u4f8b\u3048\u3070\",\n \"kana\": \"\u305f\u3068\u3048\u3070\"\n}\n\n### remove reading synonym\n# 204 no content\nDELETE {{host}}\/synonym\/reading\/29482\/\n{{auth}}\n{{contentType}}\n\n### get reports\n# 204 no content\nGET {{host}}\/report\/\n{{auth}}\n{{contentType}}\n\n### delete report\n# 204 no content\nDELETE {{host}}\/report\/6\/\n{{auth}}\n{{contentType}}\n\n\n","old_contents":"# This file is for quickly getting REST results in VSCODE using\n# https:\/\/github.com\/Huachao\/vscode-restclient\/blob\/master\/README.md\n@host = https:\/\/staging.kaniwani.com\/api\/v1\n@auth = authorization: JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyMTIxLCJ1c2VybmFtZSI6IlN1YnZlcnNpdHkiLCJleHAiOjE1MTYyNDgyODgsImVtYWlsIjoiZHVuY2FuLmJheUBnbWFpbC5jb20ifQ.IN_0ghpZSnnFb0UdzcWy3uo9uVk6eCrEfeUWsM70KYU\n@contentType = content-type: application\/json\n\n### fetch user\nGET {{host}}\/user\/me\n{{auth}}\n{{contentType}}\n\n### fetch announcements\nGET {{host}}\/announcement\/\n{{auth}}\n{{contentType}}\n\n### search vocab by meaning\nGET {{host}}\/vocabulary\/\n ?meaning_contains=two\n{{auth}}\n{{contentType}}\n\n### search vocab by reading\nGET {{host}}\/vocabulary\/\n ?reading_contains=\u3042\u306a\n{{auth}}\n{{contentType}}\n\n### fetch vocab by id\nGET {{host}}\/vocabulary\/20\/\n{{auth}}\n{{contentType}}\n\n### fetch review by id\nGET {{host}}\/review\/2696518\/\n{{auth}}\n{{contentType}}\n\n### search reviews\n# srs_level\n# srs_level_gt\n# srs_level_lt\n# part_of_speech\n# wanikani_burned\n# level\n# meaning_contains\nGET {{host}}\/review\/\n ?level=20\n{{auth}}\n{{contentType}}\n\n### fetch levels\nGET {{host}}\/level\/\n{{auth}}\n{{contentType}}\n\n### lock level\nPOST {{host}}\/level\/2\/lock\/\n{{auth}}\n{{contentType}}\n\n### unlock level\nPOST {{host}}\/level\/2\/unlock\/\n{{auth}}\n{{contentType}}\n\n### fetch lessons queue (stubbed entries!)\nGET {{host}}\/review\/lesson\/?limit=100\n{{auth}}\n{{contentType}}\n\n### fetch review queue (stubbed entries!)\nGET {{host}}\/review\/current\/?limit=100\n{{auth}}\n{{contentType}}\n\n### hide review\n# 204 no content\nPOST {{host}}\/review\/3952861\/hide\/\n{{auth}}\n{{contentType}}\n\n### unhide review\n# 204 no content\nPOST {{host}}\/review\/3952861\/unhide\/\n{{auth}}\n{{contentType}}\n\n### record quiz answer\n# 204 no content, already answered is 403 with text\n@correctid = 3952861\n# or incorrect\n@slug = correct\nPOST {{host}}\/review\/{{correctid}}\/{{slug}}\/\n{{auth}}\n{{contentType}}\n\n{\n \"user_specific_id\": \"{{correctid}}\",\n \"user_correct\": \"true\",\n \"wrong_before\": \"false\"\n}\n\n### create reading synonym\n# returns new synonym entry with id\nPOST {{host}}\/synonym\/reading\/\n{{auth}}\n{{contentType}}\n\n{\n \"review\": \"2696518\",\n \"character\": \"\u4f8b\u3048\u3070\",\n \"kana\": \"\u305f\u3068\u3048\u3070\"\n}\n\n### remove reading synonym\n# 204 no content\nDELETE {{host}}\/synonym\/reading\/29482\/\n{{auth}}\n{{contentType}}\n\n### get reports\n# 204 no content\nGET {{host}}\/report\/\n{{auth}}\n{{contentType}}\n\n### delete report\n# 204 no content\nDELETE {{host}}\/report\/6\/\n{{auth}}\n{{contentType}}\n\n\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"ebeda8fdd29f52670ad1a1405fa0aec68716e1eb","subject":"Changed timestamp to valid format","message":"Changed timestamp to valid format","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/07_resources\/preauthorization\/02_create_a_new_pre-authorization\/code\/example.http","new_file":"source\/docs\/07_resources\/preauthorization\/02_create_a_new_pre-authorization\/code\/example.http","new_contents":"GET https:\/\/gocardless.com\/connect\/pre_authorizations\/new?client_id=123ABC×tamp=2014-06-10T08%3A42%3A22Z&nonce=ABCDEF123%3D&pre_authorization[amount]=10.00&pre_authorization[interval_length]=1&pre_authorization[interval_unit]=month&pre_authorization[max_amount]=1000.00&pre_authorization[merchant_id]=06Z06JWQW1&signature=11abc2d3e1 HTTP\/1.1\n","old_contents":"GET https:\/\/gocardless.com\/connect\/pre_authorizations\/new?client_id=123ABC×tamp=2013-11-22T15%3A04%3A17.135Z&nonce=ABCDEF123%3D&pre_authorization[amount]=10.00&pre_authorization[interval_length]=1&pre_authorization[interval_unit]=month&pre_authorization[max_amount]=1000.00&pre_authorization[merchant_id]=06Z06JWQW1&signature=11abc2d3e1 HTTP\/1.1\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"fb2afbf1648f3a09dee078aa7ff59361307ff5b4","subject":"more sample requests for siren and uber","message":"more sample requests for siren and uber\n","repos":"dschulten\/hydra-java","old_file":"hydra-sample\/webapp\/test\/http\/sample-requests.http","new_file":"hydra-sample\/webapp\/test\/http\/sample-requests.http","new_contents":"### Get store as json\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/json\n\n### Get store as json-ld\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/ld+json\n\n### Get store as siren\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/vnd.siren+json\n\n### Get store as uber\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/vnd.amundsen-uber+json\n\n### Get store as json\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/json\n\n### Get store as json-ld\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/ld+json\n\n### Get store as siren\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/vnd.siren+json\n\n### Get store as uber\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/events\nAccept: application\/vnd.amundsen-uber+json\n","old_contents":"### Get store as json\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/json\n\n### Get store as json-ls\nhttp:\/\/localhost:8080\/webapp\/hypermedia-api\/store\nAccept: application\/ld+json\n\n###","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"54db5b41d29581e27b73deee12bc9b949782e2cf","subject":"correct param names in subscription http example","message":"correct param names in subscription http example\n\nlooks like it was copied from the pre_authorization example so was\nusing the \"pre_authorization[foo]\" params when it should be using\n\"subscription[foo]\". also change the host to be gocardless.com from\nsandbox.gocardless.com to make it consistent with other examples\n","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/07_resources\/subscription\/02_create_a_new_subscription\/code\/example.http","new_file":"source\/docs\/07_resources\/subscription\/02_create_a_new_subscription\/code\/example.http","new_contents":"GET https:\/\/gocardless.com\/connect\/subscriptions\/new?client_id=123ABC×tamp=2014-06-10T08%3A42%3A22Z&nonce=ABCDEF123%3D&subscription[amount]=10.00&subscription[interval_length]=1&subscription[interval_unit]=month&subscription[merchant_id]=06Z06JWQW1&signature=11abc2d3e1 HTTP\/1.1\n","old_contents":"GET https:\/\/sandbox.gocardless.com\/connect\/subscriptions\/new?client_id=123ABC×tamp=2014-06-10T08%3A42%3A22Z&nonce=ABCDEF123%3D&pre_authorization[amount]=10.00&pre_authorization[interval_length]=1&pre_authorization[interval_unit]=month&pre_authorization[merchant_id]=06Z06JWQW1&signature=11abc2d3e1 HTTP\/1.1\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"cfa9234c8581c6d2abc12d275550afd498be72b5","subject":"Fix JSON fixture","message":"Fix JSON fixture\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/resetDomainToken\/success.http","new_file":"spec\/fixtures.http\/resetDomainToken\/success.http","new_contents":"HTTP\/1.1 201 Created\nServer: nginx\nDate: Thu, 04 Feb 2016 10:13:19 GMT\nContent-Type: application\/json; charset=utf-8\nTransfer-Encoding: chunked\nConnection: keep-alive\nStatus: 201 Created\nX-RateLimit-Limit: 4000\nX-RateLimit-Remaining: 3999\nX-RateLimit-Reset: 1454584399\nETag: W\/\"834381fd3fd0896e344e3fad9e77ab97\"\nCache-Control: max-age=0, private, must-revalidate\nX-Request-Id: bf1b3976-2edd-4ea6-b606-1d60eaa0403d\nX-Runtime: 0.075404\nStrict-Transport-Security: max-age=31536000\n\n{\"data\":{\"id\":1,\"account_id\":1010,\"registrant_id\":null,\"name\":\"example-alpha.com\",\"unicode_name\":\"example-alpha.com\",\"token\":\"domain-token\",\"state\":\"hosted\",\"auto_renew\":false,\"private_whois\":false,\"expires_on\":null,\"created_at\":\"2014-12-06T15:56:55.573Z\",\"updated_at\":\"2015-12-09T00:20:56.056Z\"}}\n","old_contents":"HTTP\/1.1 201 Created\nServer: nginx\nDate: Thu, 04 Feb 2016 10:13:19 GMT\nContent-Type: application\/json; charset=utf-8\nTransfer-Encoding: chunked\nConnection: keep-alive\nStatus: 201 Created\nX-RateLimit-Limit: 4000\nX-RateLimit-Remaining: 3999\nX-RateLimit-Reset: 1454584399\nETag: W\/\"834381fd3fd0896e344e3fad9e77ab97\"\nCache-Control: max-age=0, private, must-revalidate\nX-Request-Id: bf1b3976-2edd-4ea6-b606-1d60eaa0403d\nX-Runtime: 0.075404\nStrict-Transport-Security: max-age=31536000\n\n{\"data\":{\"id\":1,\"account_id\":1010,\"registrant_id\":null,\"name\":\"example-alpha.com\",\"unicode_name\":\"example-alpha.com\",\"token\":\"domain-token\",\"state\":\"hosted\",\"auto_renew\":false,\"private_whois\":false,\"expires_on\":null,\"created_at\":\"\"2014-12-06T15:56:55.573Z\",\"updated_at\":\"2015-12-09T00:20:56.056Z\"}}\n","returncode":0,"stderr":"","license":"mit","lang":"HTTP"} {"commit":"57167a42cfb14da75a461fd6a6d03f5b7ce234ed","subject":"Copy getTemplate fixtures from developer repo","message":"Copy getTemplate fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/getTemplate\/success.http","new_file":"spec\/fixtures.http\/getTemplate\/success.http","new_contents":"HTTP\/1.1 200 OK\r\nServer: nginx\r\nDate: Tue, 22 Mar 2016 11:14:57 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nStatus: 200 OK\r\nX-RateLimit-Limit: 2400\r\nX-RateLimit-Remaining: 2394\r\nX-RateLimit-Reset: 1458648490\r\nETag: W\/\"6a2c0c6789d853473765a5fc5662da2e\"\r\nCache-Control: max-age=0, private, must-revalidate\r\nX-Request-Id: 3401ffd6-730f-42c0-856c-3b270ca4b35f\r\nX-Runtime: 0.938420\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n{\"data\":{\"id\":1,\"account_id\":1010,\"name\":\"Alpha\",\"short_name\":\"alpha\",\"description\":\"An alpha template.\",\"created_at\":\"2016-03-22T11:08:58.262Z\",\"updated_at\":\"2016-03-22T11:08:58.262Z\"}}\r\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/getTemplate\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"6b74ad2b34f96668d4373493cc3296de2ce3f104","subject":"Copy getWhoisPrivacy fixtures from developer repo","message":"Copy getWhoisPrivacy fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/getWhoisPrivacy\/success.http","new_file":"spec\/fixtures.http\/getWhoisPrivacy\/success.http","new_contents":"HTTP\/1.1 200 OK\r\nServer: nginx\r\nDate: Sat, 13 Feb 2016 14:35:37 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nStatus: 200 OK\r\nX-RateLimit-Limit: 4000\r\nX-RateLimit-Remaining: 3996\r\nX-RateLimit-Reset: 1455377135\r\nETag: W\/\"10be37d45cd224b2178b8a2f86c466ea\"\r\nCache-Control: max-age=0, private, must-revalidate\r\nX-Request-Id: 78afe010-0f54-4d39-9ed3-08c67d545a35\r\nX-Runtime: 0.031770\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n{\"data\":{\"id\":1,\"domain_id\":2,\"expires_on\":\"2017-02-13\",\"enabled\":true,\"created_at\":\"2016-02-13T14:34:50.135Z\",\"updated_at\":\"2016-02-13T14:34:52.571Z\"}}\r\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/getWhoisPrivacy\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"1aaebc25f1263bb06c282000aed585c0e0c42ac7","subject":"Add API tests","message":"Add API tests\n","repos":"RADAR-CNS\/RADAR-Dashboard,RADAR-CNS\/RADAR-Dashboard,RADAR-CNS\/RADAR-Dashboard,RADAR-CNS\/RADAR-Dashboard","old_file":"API\/test.http","new_file":"API\/test.http","new_contents":"@baseUrl = https:\/\/radar-backend.co.uk\n\n# @name token\nPOST {{baseUrl}}\/managementportal\/oauth\/token\nContent-Type: application\/x-www-form-urlencoded\norigin: rest-client\n\ngrant_type=client_credentials&client_id=radar_dashboard&client_secret=says_PRETTY_smiled&scope=SOURCETYPE.READ PROJECT.READ SOURCE.READ SUBJECT.READ\n\n###\n\n# @name getProjects\nGET {{baseUrl}}\/api\/projects\/\nAuthorization: Bearer {{token.response.body.access_token}}\n\n###\n\n# @name getDemo\nGET {{baseUrl}}\/api\/projects\/BioIT-Demo\nAuthorization: Bearer {{token.response.body.access_token}}\n\n###\n\n# @name getDemoSubjects\nGET {{baseUrl}}\/api\/projects\/BioIT-Demo\/subjects\nAuthorization: Bearer {{token.response.body.access_token}}\n\n###\n\n# @name getDemoSubjectDetail\nGET {{baseUrl}}\/api\/projects\/BioIT-Demo\/subjects\/{{getDemoSubjects.response.body.$[0].subjectId}}\nAuthorization: Bearer {{token.response.body.access_token}}\n\n###\n\n# @name getSourceTypes\nGET {{baseUrl}}\/api\/source-types\nAuthorization: Bearer {{token.response.body.access_token}}\n\n###\n\n# NOTE: bug in vscode-rest-client doesn't allow getting more than one value on an array\n# @name getSourceTypeDetail\nGET {{baseUrl}}\/api\/source-types\/{{getDemoSubjectDetail.response.body.$.sources[0].sourceTypeProducer}}\/PHONE\/1.0.0\nAuthorization: Bearer {{token.response.body.access_token}}\n\n###\n\n# @name getDemoSampleDataLatest\n# \/data\/{projectName}\/{subjectId}\/{sourceId}\/{sourceDataName}\/{stat}\/latest\n# ?timeWindow=\nGET {{baseUrl}}\/api\/data\/BioIT-Demo\/3907dab9-b2ae-4db1-ba93-d5b3f699b1eb\/4f987b48-b2f3-45a6-aa9b-83c4a15d3c75\/{{getSourceTypeDetail.response.body.$.sourceData[0].sourceDataName}}\/COUNT\/latest\n ?timeWindow=ONE_MIN\nAuthorization: Bearer {{token.response.body.access_token}}\n\n###\n\n# @name getDemoSampleData1\n# \/data\/{projectName}\/{subjectId}\/{sourceId}\/{sourceDataName}\/{stat}\n# ?timeWindow=&startTime=&endTime=\nGET {{baseUrl}}\/api\/data\/BioIT-Demo\/3907dab9-b2ae-4db1-ba93-d5b3f699b1eb\/4f987b48-b2f3-45a6-aa9b-83c4a15d3c75\/{{getSourceTypeDetail.response.body.$.sourceData[0].sourceDataName}}\/COUNT\n ?timeWindow=ONE_MIN\n &startTime=2018-02-27T12:57:00Z\n &endTime=2018-02-27T13:03:00Z\nAuthorization: Bearer {{token.response.body.access_token}}\n\n###\n\n# @name getDemoSampleData2\n# \/data\/{projectName}\/{subjectId}\/{sourceId}\/{sourceDataName}\/{stat}\n# ?timeWindow=&startTime=&endTime=\nGET {{baseUrl}}\/api\/data\/BioIT-Demo\/3907dab9-b2ae-4db1-ba93-d5b3f699b1eb\/b6f1a0bb-b663-4aa2-a776-3a51d4dc5f86\/EMPATICA_E4_1.0.0_BATTERY\/COUNT\n ?timeWindow=ONE_MIN\n &startTime=2018-02-27T12:57:00Z\n &endTime=2018-02-27T13:03:00Z\nAuthorization: Bearer {{token.response.body.access_token}}\n\n###\n\n# @name getVolume\n# \/aggregate\/{projectName}\/{subjectId}\/distinct\n# ?timeWindow=&startTime=&endTime=\nPOST {{baseUrl}}\/api\/aggregate\/BioIT-Demo\/{{getDemoSubjectDetail.response.body.$.subjectId}}\/distinct\n ?timeWindow=TEN_MIN\n &endTime=2018-02-27T14:00:00Z\n &startTime=2018-02-27T12:00:00Z\nAuthorization: Bearer {{token.response.body.access_token}}\nContent-Type: application\/json\n\n{\n \"sources\":[\n {\n \"sourceId\":\"b6f1a0bb-b663-4aa2-a776-3a51d4dc5f86\",\n \"sourceData\":[\n {\"name\": \"EMPATICA_E4_v1_ACCELEROMETER\"}\n ]\n }\n ]\n}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'API\/test.http' did not match any file(s) known to git\n","license":"apache-2.0","lang":"HTTP"} {"commit":"69890fc5e9152bf69d02d3cf52fc2222e6727e31","subject":"some requests to use for spot checking the server","message":"some requests to use for spot checking the server\n","repos":"olynch\/commie-qotw,olynch\/commie-qotw,olynch\/commie-qotw","old_file":"test_reqs.http","new_file":"test_reqs.http","new_contents":"# -*- restclient -*-\n\nPOST http:\/\/localhost:4000\/api\/submit\nContent-Type: application\/json\n{\n \"quote\": \"I am\"\n}\n\n#\n\nPOST http:\/\/localhost:4000\/api\/login\nContent-Type: application\/json\n{\n \"email\": \"root@root.org\",\n \"password\": \"1337\"\n}\n\n#\n# Replace token with the result from the previous query\n\nPOST http:\/\/localhost:4000\/api\/whoami\nContent-Type: application\/json\n{\n \"token\": \"2fe3917b2bedaf04500d54b35497e644\"\n}\n\n#\n\nGET http:\/\/localhost:4000\/api\/lastmessage\nContent-Type: application\/json\n{}\n\n#\n\nPOST http:\/\/localhost:4000\/api\/message\nContent-Type: application\/json\n{\n \"messageID\": 1\n}\n\n#\n\nPOST http:\/\/localhost:4000\/admin\/admins\nContent-Type: application\/json\n{}","old_contents":"","returncode":1,"stderr":"error: pathspec 'test_reqs.http' did not match any file(s) known to git\n","license":"epl-1.0","lang":"HTTP"} {"commit":"ae3694830a250378edf197c865e510c543574d48","subject":"\tnew file: nginx.conf.http","message":"\tnew file: nginx.conf.http\n","repos":"radinformatics\/whatisit,radinformatics\/whatisit,radinformatics\/whatisit,radinformatics\/whatisit","old_file":"nginx.conf.http","new_file":"nginx.conf.http","new_contents":"server {\n listen *:80;\n server_name word.fish;\n\n client_max_body_size 5000M; # allows file uploads up to 500 megabytes\n\n add_header X-Clacks-Overhead \"GNU Terry Pratchett\";\n add_header X-Clacks-Overhead \"GNU Terry Pratchet\";\n add_header Access-Control-Allow-Origin *;\n add_header 'Access-Control-Allow-Credentials' 'true';\n add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';\n add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';\n\n location \/images {\n alias \/var\/www\/images;\n }\n\n location \/ {\n include \/etc\/nginx\/uwsgi_params.par;\n uwsgi_pass uwsgi:3031;\n }\n\n location \/static {\n alias \/var\/www\/static;\n }\n}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'nginx.conf.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"9cea12dff0da3e88d279967ee78c1fad1d5a4372","subject":"adds http examples files","message":"adds http examples files\n","repos":"Arc-Lightning\/FutureStack","old_file":"todo-backend\/todo.http","new_file":"todo-backend\/todo.http","new_contents":"","old_contents":"","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/Arc-Lightning\/FutureStack.git\/'\n","license":"mit","lang":"HTTP"} {"commit":"fbc714e1e7eab9a04a9f450bf00d3d652b26dae2","subject":"feat: add canvas.http file","message":"feat: add canvas.http file\n","repos":"SlateFoundation\/slate-connector-canvas,SlateFoundation\/slate-connector-canvas","old_file":"canvas.http","new_file":"canvas.http","new_contents":"","old_contents":"","returncode":128,"stderr":"fatal: unable to access 'https:\/\/github.com\/SlateFoundation\/slate-connector-canvas.git\/': The requested URL returned error: 403\n","license":"mit","lang":"HTTP"} {"commit":"fad80ddb2d5711cff5977ebc2584df8ef1abd9e1","subject":"Copy getService fixtures from developer repo","message":"Copy getService fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/getService\/success.http","new_file":"spec\/fixtures.http\/getService\/success.http","new_contents":"HTTP\/1.1 200 OK\r\nServer: nginx\r\nDate: Fri, 15 Apr 2016 14:50:13 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nStatus: 200 OK\r\nX-RateLimit-Limit: 2400\r\nX-RateLimit-Remaining: 2394\r\nX-RateLimit-Reset: 1460735221\r\nETag: W\/\"be453ad05df875577d40dbfbb479239a\"\r\nCache-Control: max-age=0, private, must-revalidate\r\nX-Request-Id: 741b849f-dba6-4d0b-a68c-f47fe1aa3a54\r\nX-Runtime: 0.140632\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n{\"data\":{\"id\":1,\"name\":\"Service 1\",\"short_name\":\"service1\",\"description\":\"First service example.\",\"setup_description\":null,\"requires_setup\":false,\"default_subdomain\":null,\"created_at\":\"2014-02-14T19:15:19.953Z\",\"updated_at\":\"2016-03-04T09:23:27.655Z\",\"settings\":[]}}\r\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/getService\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"289772026beae0172e2ffc83831034899b2b7556","subject":"Adding a HTTP-request for updating a weather dataset.","message":"Adding a HTTP-request for updating a weather dataset.\n","repos":"erl987\/remoteweatheraccess,erl987\/remoteweatheraccess","old_file":"restapi_backend\/tests\/requests\/weatherdata\/weather-dataset-update.http","new_file":"restapi_backend\/tests\/requests\/weatherdata\/weather-dataset-update.http","new_contents":"PUT http:\/\/35.217.60.27:8050\/api\/v1\/data\/1\nContent-Type: application\/json\nAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1OTUxMDIzNjEsIm5iZiI6MTU5NTEwMjM2MSwianRpIjoiNmFjNGU2ODYtYzAxOC00YTIwLTg4OTgtNjA4ZTk1NzcyNDdiIiwiZXhwIjoxNTk1MTM4MzYxLCJpZGVudGl0eSI6ImFkbWluIiwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MiLCJ1c2VyX2NsYWltcyI6eyJyb2xlIjoiQURNSU4ifX0.uCEV7DL9pXUBOFL9BH8-dMSdwR4-MSOdiTsL4BYSyNo\n\n{\n \"timepoint\": \"2019-07-06T12:34:10+00:00\",\n \"station\": \"SOL\",\n \"pressure\": 1050.3,\n \"uv\": 8.3,\n \"rain_counter\": 1230.5,\n \"temperature_humidity\": [\n {\n \"sensor_id\": \"OUT1\",\n \"temperature\": 20.5,\n \"humidity\": 80.4\n },\n {\n \"sensor_id\": \"IN\",\n \"temperature\": 30.9,\n \"humidity\": 41.4\n }\n ],\n \"wind\": {\n \"speed\": 89.5,\n \"gusts\": 103.5,\n \"direction\": 190.5,\n \"temperature\": 16.5\n }\n}","old_contents":"","returncode":1,"stderr":"error: pathspec 'restapi_backend\/tests\/requests\/weatherdata\/weather-dataset-update.http' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"HTTP"} {"commit":"0a717d5a2788b2a3296f95d18858aec32c5bfe1a","subject":"Copy getTemplateRecord fixtures from developer repo","message":"Copy getTemplateRecord fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/getTemplateRecord\/success.http","new_file":"spec\/fixtures.http\/getTemplateRecord\/success.http","new_contents":"HTTP\/1.1 200 OK\r\nServer: nginx\r\nDate: Tue, 03 May 2016 08:04:20 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nStatus: 200 OK\r\nX-RateLimit-Limit: 2400\r\nX-RateLimit-Remaining: 2394\r\nX-RateLimit-Reset: 1462265481\r\nETag: W\/\"743142eab9fecf3edb41e9b3f30a903f\"\r\nCache-Control: max-age=0, private, must-revalidate\r\nX-Request-Id: 6484e900-7255-4194-9ff8-ae5650ebd765\r\nX-Runtime: 0.138017\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n{\"data\":{\"id\":301,\"template_id\":268,\"name\":\"\",\"content\":\"mx.example.com\",\"ttl\":600,\"priority\":10,\"type\":\"MX\",\"created_at\":\"2016-05-03T08:03:26.444Z\",\"updated_at\":\"2016-05-03T08:03:26.444Z\"}}","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/getTemplateRecord\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"a32863a382f66eaba22d694a4514c4198d2f5729","subject":"Add styled 504 page (#20)","message":"Add styled 504 page (#20)\n\n","repos":"kontena\/kontena-loadbalancer,kontena\/kontena-loadbalancer,kontena\/kontena-loadbalancer","old_file":"errors\/504.http","new_file":"errors\/504.http","new_contents":"HTTP\/1.0 504 Gateway timeout\nCache-Control: no-cache\nConnection: close\nContent-Type: text\/html\n\n<!doctype html>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text\/html\" charset=\"UTF-8\" \/>\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" \/>\n<meta name=\"viewport\" content=\"user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1\">\n<title>504 - Gateway timeout<\/title>\n<link rel=\"shortcut icon\" type=\u200b\"image\/\u200bpng\" href=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN\/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz\/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH\/w\/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA\/g88wAAKCRFRHgg\/P9eM4Ors7ONo62Dl8t6r8G\/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt\/qIl7gRoXgugdfeLZrIPQLUAoOnaV\/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl\/AV\/1s+X48\/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H\/LcL\/\/wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93\/+8\/\/UegJQCAZkmScQAAXkQkLlTKsz\/HCAAARKCBKrBBG\/TBGCzABhzBBdzBC\/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD\/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q\/pH5Z\/YkGWcNMw09DpFGgsV\/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY\/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4\/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L\/1U\/W36p\/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N\/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26\/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE\/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV\/MN8C3yLfLT8Nvnl+F30N\/I\/9k\/3r\/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt\/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi\/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a\/zYnKOZarnivN7cyzytuQN5zvn\/\/tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO\/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3\/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA\/0HIw6217nU1R3SPVRSj9Yr60cOxx++\/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3\/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX\/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8\/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb\/1tWeOT3dvfN6b\/fF9\/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR\/cGhYPP\/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF\/6i\/suuFxYvfvjV69fO0ZjRoZfyl5O\/bXyl\/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o\/2j5sfVT0Kf7kxmTk\/8EA5jz\/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5\/wAAgOkAAHUwAADqYAAAOpgAABdvkl\/FRgAABCVJREFUeNq0l1toHFUYx39zZnfnsvcmRILFKqK2PohtFavom1S8PYigeHlR1OKlPniDPghViESkEmNF6gVfGipYVFAwxaghtQk2Jk0b12SzSdfcmiYhSXPb3Lrz+eBY4rq72V22Hwwz58w5\/\/md75zvnG80EQGg\/tAXFGm3AnXAFPAiMFxox5f3PHXpWVG8RYEPgZPAHcCDQA\/wWglaRQM8B\/QCL2XU+4H3gE7g\/ssBcBdwHDgEVOVptx34HjgKXF8OgGrgU6AFuLOIgT0MxIEGV6MkgFdcdz9D6bYdeBZ4uhiA3UAHcAAIlfjhaXed3AhMAJ8D3wE35wMIA4eBY8COHMITBXz8CLAN+Mgta26oPxDw26ci4eDeXADXAU\/kEB0F7gbeLADgrfWgIuLx2xbRSGiwtz9Z91vHme71jT3rnteyiK0B9cB+YMF1aV4Tkc2apsUDfhuPrqMpNT81PXOkubX9p1hvYlc6nR7LBSBZ9B4FvllXtjcC0JXSlFJ0nI4xMzuHafg6k0OjOyenpmvDwUClx6PX5wLIZrHMAW4E4PV6fYtLS7R3\/cGF2dkbTMNotCyzuiIaQUQQ+a\/GRgCVQF8xy19EFpTSCPhtlNK2+Lzeare+LFuxlufdWRF5zDSNEwsLKRZTKXSlUuU+C7IN4yLwtiOyzTKNL23LTJ+OxVlaWsHj8Wwo6CkSwMkofwu8LiL90VCQtOPQ+MuvJIdGCIcCiMhouQEq3PsAsE9EvtJ1RTQcYWRsnOYTJxkaPUckFEQphYjcV26AeeAzEXne5\/VetG0LXSli8X6aWlpZWl6hIhpB09gqIu8AD5UVQERqdV13QsEA8wuLjI6NMzh8jrbfuzANHxXRyNWO49SI8HihmjkBNE1DRKx\/Q8iyTEzDcESEvoG\/aO\/qZmp6BscRggEbj8eD4zh+N0uiJAARQdM0\/LaFrutJYFjX\/wmUsfFJVlfXiA8kOROLo3SF37LQNIWmXYrzGHAN8CRQA1xVDIDy2za2ZY70JAaO9iaSn1RVbuoL+G2Wllfo\/jPO3MIi6XSaYMCPrusVIhIABrPoHga+Bt4H9hQEEA4FU9MzFz5uaWvv6Emc3b2YSt2eSHp7NDREBNMwsEwDpRTAIyJy0D3C3wA+yKKdcr1QGMCxn49vOT85JecnJmsiodAVVZUVzY7jZMtwaoB719XVuS7fBzRltM82Bb6sALF4\/w7TNF6oqtyE4wiO46xmdNwFtOUYyC3Ajy5IQ56ds8HdQ\/6\/FYdDwXcNn2+n40ijW7U5o\/OVBSzqa7P8QwB0A\/e4gLP5wrDTde+rwFiWOd3I5jLKi26GtL\/YfeAA5bFm9yrLaRgsoE3l5fw1O+XOJXky5qbLCZAAbnLDbTnj3UFg60buLkdCAlDrZsc\/AK3AbcBeYKaURfL3ALM7ddXaK\/n9AAAAAElFTkSuQmCC\" \/>\n<link href='https:\/\/fonts.googleapis.com\/css?family=Roboto:400,900' rel='stylesheet' type='text\/css'>\n<style>body{background:#f1f1f1;color:#3d4b57;font-family:'Roboto',sans-serif}body .a{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}body .a .b{margin:0 auto;padding:0;display:table;height:100%;width:320px}body .a .b .c{display:table-cell;vertical-align:middle}.img{display:block;width:128px;height:128px;float:left;margin:0;background:url('data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN\/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz\/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH\/w\/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA\/g88wAAKCRFRHgg\/P9eM4Ors7ONo62Dl8t6r8G\/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt\/qIl7gRoXgugdfeLZrIPQLUAoOnaV\/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl\/AV\/1s+X48\/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H\/LcL\/\/wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93\/+8\/\/UegJQCAZkmScQAAXkQkLlTKsz\/HCAAARKCBKrBBG\/TBGCzABhzBBdzBC\/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD\/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q\/pH5Z\/YkGWcNMw09DpFGgsV\/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY\/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4\/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L\/1U\/W36p\/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N\/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26\/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE\/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV\/MN8C3yLfLT8Nvnl+F30N\/I\/9k\/3r\/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt\/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi\/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a\/zYnKOZarnivN7cyzytuQN5zvn\/\/tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO\/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3\/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA\/0HIw6217nU1R3SPVRSj9Yr60cOxx++\/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3\/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX\/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8\/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb\/1tWeOT3dvfN6b\/fF9\/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR\/cGhYPP\/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF\/6i\/suuFxYvfvjV69fO0ZjRoZfyl5O\/bXyl\/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o\/2j5sfVT0Kf7kxmTk\/8EA5jz\/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5\/wAAgOkAAHUwAADqYAAAOpgAABdvkl\/FRgAACeJJREFUeNrsnXuQV2UZxz\/rLqtcZDRRYroAKVlWZjAiCi4g1K6xa6CrrSOZ0qiUJogplYhXvBSi0IgiVwkU9WTYYY0TDQpxNXV0VAjt4jDSVmJImIpctj+eh1lCLru\/Pb\/znnPe5zvDMLD7O+c95\/n+3vf9Pre3pLGxEYO\/OMxegRHAYAQwGAEMXqIsjotMmTY7q89fDowELgRmAzOBXVl8kKuvuNRmgBZiMLAMmAz0AaYBS4H+tgTkGz2AecASNfzeqFASzAS6GwHyhY7AeGAtcNEh3skI4DngeqC9ESD7+DawGrgFOLqZn+kE3A2sBIYaAbKJXsAiYAFwUoHX+Crwa+BJ4CtGgGygM3CvfnuHxHTNYcAa4C7gGCNAOlEKfB94HhgNHB7z9dsBY4E\/6j6hxAiQLlm3HJgKfLrI9+quSmGpKgcjgGNZN1dl3RkJ33sA8CwwA+hqBEgWRwLjVK59x+E4SoDv6bJzHdDWCFB8nK8bstuAo1Iypk7Az4BVWZKNWSPAHln3eCtkXbFxyl6y8WQjQDz4JDAJWBGjrCs2hiHOpzvTLBvTToAy4Apd568BjsjYjNUO+LHKxkvTKBvTTIBBKuseBD6TcaXSHZgFPAOcaQQ4tKx7WGXd6eQL\/dV38BDQzQjw\/+gI\/FR39xeTAy\/bQZa1y5Co5LW6THhPgFqVTxOAT+AHjgMmAi8D1b4S4Gsq654AvoR\/aNR9wUnAQhxEG10RoDNwD\/FG67KGZcBA4HLgNeBbOgsmGm1MmgB7y7oxZMxtGhP+hriOByoJANro3x2QaONa4JIk7JMkAQbqdPcg8FkPDf8+4io+VSXhwWryjkeylJcAfbNOgM8Bc1T+9PN0un8SSUAdC7zTgs+dpb6QacXyhRSTAO2BGxAv2Hc9NfxLSGDoPOCVVtjocuAFlY1HZIEA5yF+8Ns9knV74239tvcDnorpmseqbFwJ1KSVAD31gQNymEDZDOzStbu3rvf\/LcI9egK\/Uen85bQQoLOycxVwjqfT\/XJds0cAbyZwv1rEazqhNbKxLKbBLOTjVTZJYSmSFNLTofEDoI7k6wrbI1HGV4FHXc8ASWMTkgE8CPiT42\/\/3x0Y\/yPEmfbFQo0f5wywM+EHn4pU7fxD\/+9wxwQoS\/h+i5G09w1ZG3hr8TRws0pLH\/FnxIMaZsEPECfW6xo7xFPjvwf8BAmYhUEYdQnC6LIsTl0txVYkF3CSvgTf0Ag8gqSbNwRhVI44g24EGoDpeSbAfKSa9w1Pp\/sXgStV6hGEURVwH3Ci\/nxjXmeA1cBNSCDER7yNJJLOAXYHYXSCzoA1xbhZmgjwFhILfwjY4aHhdwJTkGKXd4Mw6oDEUsYgvYzIMwHmKusbPP3Wf4D0IVgXhFEJ0sHk50CXvOnXA2GGx8YHiHSd7wncT4Je1bQQoJ3HxicIo2N1+bskaWlehsGl4cuAq1XWHeViDEYAd8Zvi5SUOy1ytVax7lBJCiqcjQCewwhgBDAYAbIP1+fetDECuIXLFu+\/QhJUMom8yEAXnUNeQpw3TwC7jQBukaQB3kFy8aYHYbTZ5UMXekhEHgmQxB5gJxK0moRU8+YC5glsHv4A3IEkY+YKNgMcHBuRNm8PIyFbjAB+4AMkLPsLYkq9MgJkB08hyRgrfXhYI0ATXkOqmR\/DvWPJCJAg3kWOjpsC\/Nu3h\/eZALuRps6zgXpfX4KvBFiLpF3ndndvBNg\/NtF0ROybjsfyoREgWVn3mBp+RQrGU0pKzhrygQC\/R9qyPZqS8ZyFlLz1MwIUF28gxZOzaFlrtmLheCT7N1Ud0\/JIgK26uZtB4a3Z4kQ7YBRS4Xt02l5WXgjQRmXdQt3kLUrJuGqRhhapbYSdBwKUIK1irkPa0L6fgjH1VMPXpP3l5WUGGENxevK1FMchR85fSUbON8oDARpTYPxSpD\/gjWTsfCOLBbQeA5Ga\/r5ZHLwRoEAEYfQpJIB0bpafwwpDCsd24K8qO40AvqG2pnKzKo\/eSCcvI4CneB1p6fINJMpoBPARyxctWIKcCvoDJOpom8AWSrmsGn7vf+4AHkA8kmOBkbjvY5x6AtTrNJpZ41dU1+37owakmfMjSOSvygiw\/7VzFBkuttiP4ffFc8DZSJ\/jm2nq8un1HmAb8CPkSJncVdocAAuQ4+JuAv7jKwEakdj8icA9QRj51g10G3Crysb5uC1pT3wJWANcQ1Pj4yFI7\/sNLh46CKMuSOv5harnk8QGYDjS9v6+vBOgARiHxOgbgzD6PJKDX6V\/NiRs+FLkjJ0bgG7A9UEY3QbMq62pTFqJpKILerGWgD3n2XwBmBWEUYcgjCYiGTpVjr71\/ZEDpqar8QF6ICXfvwvC6PSEh1SeBgIUYwZYrLv717Xx8Qik5KqLI8N3A8YjbVhLDvBrg4EBQRjNAG6vranMjCMnLQQo0zV9tOp6gjDqA9yLo+PktBPnKFUcxzTzGUYCw4Iwugt4oLamcnveCRDXEjAZyXur1\/NsZiKHSLoy\/rm64byTlh+q2FmJu0I3q7lGSWNjPHufiuq6cuCHOt12bMZHqtA26THiFNXaQ2O85uOIN29dzGMditQmFopXli9acHIqZoCK6roq3eBNbKbx40Yn5BzBVTEbH+ACnU1uxVFH79TuASqq605QLetqqixRWTce6FrE+xyJ5PvV6WwwPy\/7t8NaYfzhSFMFV8Y\/E1iG1Pt1TeiePYB5yIFWvRwTYLNTAgDPqKZ25dIdqyRwgcHIucUusB1pVXeBawJsAq5SI0QOXoTr8moXEjFEso+vpencZOebwLW6o78IR759D\/AqUmZ2DvBCGv0AIMkPpyE58tvMZrFgCxJL6YM0pY4dcccCtuqO\/DQkBm4oHHORHIIJFLHyqVjBoPXAhcA38feo90KxEhiE9BH4S7FvVuyEkN\/qJnEUfh8M2RxsVGUxAIlaJoIkMoK2IyVUpyIHK+wwWwNNkckPkdhDb6S8fWeSg0gyJWwTUjbdH3gWqaj1GaWIQ6kvUt7+TxeDcJEVvFrXuLaeE2Cx7uyd1kS4SgvfTToaOrjEe2kYhJWGeQ4jgBHAYAQwGAEMRgCDESBTcF13X24EcIuXHd9\/vRHALcYB1cScINEMrEL6AU0yArhHPXAG4kv\/V5HvtSeWUYH48G0PkBJ8hETTeiHRtF1FuP5kvf5UUlLXbwT4ON5C4ukVyCkhceBpJFo3GkfROiNAYWv014GLKbwGfz1SBDIEeN5kYDbxSyQ38Q6an6S6BWnm1Ac5ZMr8ABnHFqQbSB8gOMTvztffu4WUNXIyArQe64DzVTa+uM\/P1uiSMZyM9itsDXxrF1+PJFxepWv8HGCa7vS9RGz9AQy2BBiMAAYjgMEIYDACGDKC\/w0AXs8o\/OxZEIAAAAAASUVORK5CYII=')}h1{margin:0}h1 .code{display:block;font-size:96px;line-height:96px;font-weight:900}h1 .msg{display:block;font-size:20px}hr{border:none;border-bottom:1px solid #91989e;margin:20px 0 10px 0;clear:both}p{margin:0;text-align:center;font-size:11px;font-style:italic}<\/style>\n<\/head>\n<body>\n<div class=\"a\">\n<div class=\"b\">\n<div class=\"c\">\n<div class=\"img\"><\/div>\n<h1><span class=\"code\">504<\/span> <span class=\"msg\">Gateway timeout<\/span><\/h1>\n<hr\/>\n<p>Kontena Load Balancer<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/body>\n<\/html>\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'errors\/504.http' did not match any file(s) known to git\n","license":"apache-2.0","lang":"HTTP"} {"commit":"d51e704296fbcba1783fb2026e0346eb811f48d3","subject":"Copy disableWhoisPrivacy fixtures from developer repo","message":"Copy disableWhoisPrivacy fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/disableWhoisPrivacy\/success.http","new_file":"spec\/fixtures.http\/disableWhoisPrivacy\/success.http","new_contents":"HTTP\/1.1 200 OK\r\nServer: nginx\r\nDate: Sat, 13 Feb 2016 14:36:38 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nStatus: 200 OK\r\nX-RateLimit-Limit: 4000\r\nX-RateLimit-Remaining: 3995\r\nX-RateLimit-Reset: 1455377134\r\nETag: W\/\"56e3e7f76ba9c84dcab9aef72347edf2\"\r\nCache-Control: max-age=0, private, must-revalidate\r\nX-Request-Id: 4831c4d9-e62e-4710-a999-4ab32a900cea\r\nX-Runtime: 0.988453\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n{\"data\":{\"id\":1,\"domain_id\":2,\"expires_on\":\"2017-02-13\",\"enabled\":false,\"created_at\":\"2016-02-13T14:34:50.135Z\",\"updated_at\":\"2016-02-13T14:36:38.964Z\"}}\r\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/disableWhoisPrivacy\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"1d56604cce622e364d0fb089e4833f61ff62f18f","subject":"Create GET_search_movies.http","message":"Create GET_search_movies.http","repos":"bryanbarnard\/ISWQ2014,bryanbarnard\/ISWQ2014","old_file":"samples\/GET_search_movies.http","new_file":"samples\/GET_search_movies.http","new_contents":"# Request\nGET \/api\/movies\/name=Married HTTP\/1.1\nHost:iswq2014.bryanbarnard.com\nX-Target-URI:http:\/\/iswq2014.bryanbarnard.com:1337\nAccept: application\/vnd.collection+json\nConnection:Close\n\n# Response\nHTTP\/1.1 200 OK\nDate:2014-03-20T20:54:23.637Z\nContent-Length:2712\nContent-Type:application\/vnd.collection+json\nCache-Control:no-cache, no-store, must-revalidate\n\n{\n \"collection\": {\n \"version\": \"1.0\",\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies?offset=0&limit=5\",\n \"links\": [\n {\n \"href\": \"https:\/\/rawgithub.com\/bryanbarnard\/ISWQ2014\/master\/docs\/movies.xml\",\n \"rel\": \"profile\"\n },\n {\n \"href\": \"https:\/\/rawgithub.com\/bryanbarnard\/ISWQ2014\/master\/docs\/movies.xml#movie\",\n \"rel\": \"type\"\n },\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies\",\n \"rel\": \"first\",\n \"prompt\": \"first page of results\"\n },\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies\",\n \"rel\": \"previous\",\n \"prompt\": \"immediate previous page results\"\n },\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies?offset=-4&limit=5\",\n \"rel\": \"last\",\n \"prompt\": \"last page of results\"\n }\n ],\n \"items\": [\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies\/157a9b89b8c049ad9ef70663de0ef68e\",\n \"rel\": \"item\",\n \"rt\": \"movie\",\n \"data\": [\n {\n \"name\": \"name\",\n \"value\": \"So I Married An Axe Murderer 001\",\n \"prompt\": \"title of the movie\"\n },\n {\n \"name\": \"description\",\n \"value\": \"A San Francisco poet who fears commitment has a girlfriend who he suspects may not be who she appears.\",\n \"prompt\": \"description of movie\"\n },\n {\n \"name\": \"datePublished\",\n \"value\": \"1993-03-28T21:51:08.406Z\",\n \"prompt\": \"date movie was published\"\n },\n {\n \"name\": \"about\",\n \"value\": \"Cult Classic Michael Myers\",\n \"prompt\": \"short description of this item\"\n },\n {\n \"name\": \"genre\",\n \"value\": \"comedy\",\n \"prompt\": \"movie genre\"\n },\n {\n \"name\": \"version\",\n \"value\": \"1.0\",\n \"prompt\": \"version of this release\"\n },\n {\n \"name\": \"timeRequired\",\n \"value\": \"PT120M\",\n \"prompt\": \"time required to view this movie, aka duration\"\n },\n {\n \"name\": \"contentRating\",\n \"value\": \"r\",\n \"prompt\": \"rating of the movie\"\n },\n {\n \"name\": \"created\",\n \"value\": \"2014-03-17T05:02:30.338Z\",\n \"prompt\": \"record created\"\n },\n {\n \"name\": \"updated\",\n \"value\": \"2014-03-17T05:02:30.338Z\",\n \"prompt\": \"record last updated\"\n }\n ],\n \"links\": [\n {\n \"rel\": \"type\",\n \"href\": \"https:\/\/rawgithub.com\/bryanbarnard\/ISWQ2014\/master\/docs\/movies.xml#movie\"\n }\n ]\n }\n ],\n \"queries\": [\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/\/movies\",\n \"rel\": \"search\",\n \"rt\": \"movie\",\n \"prompt\": \"Movie-Search By Name\",\n \"name\": \"movie-search\",\n \"data\": {\n \"name\": \"name\",\n \"value\": \"\",\n \"prompt\": \"Name\"\n }\n }\n ],\n \"template\": {\n \"data\": [\n {\n \"name\": \"name\",\n \"value\": \"\",\n \"prompt\": \"title of movie\",\n \"required\": \"true\"\n },\n {\n \"name\": \"description\",\n \"value\": \"\",\n \"prompt\": \"description of movie\",\n \"required\": \"true\"\n },\n {\n \"name\": \"datePublished\",\n \"value\": \"\",\n \"prompt\": \"date movie was published\",\n \"required\": \"true\"\n },\n {\n \"name\": \"about\",\n \"value\": \"\",\n \"prompt\": \"short description of film\",\n \"required\": \"true\"\n },\n {\n \"name\": \"genre\",\n \"value\": \"\",\n \"prompt\": \"movie genre\",\n \"required\": \"true\"\n },\n {\n \"name\": \"version\",\n \"value\": \"\",\n \"prompt\": \"version of this release\",\n \"required\": \"true\"\n },\n {\n \"name\": \"timeRequired\",\n \"value\": \"\",\n \"prompt\": \"time required to view this movie aka duration\",\n \"required\": \"true\"\n },\n {\n \"name\": \"contentRating\",\n \"value\": \"\",\n \"prompt\": \"movie content rating\",\n \"required\": \"true\"\n }\n ]\n }\n }\n}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'samples\/GET_search_movies.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"47fcc5ec4020d5733571772c02b985a4d447c9ee","subject":"fix reboot loop","message":"fix reboot loop\n","repos":"Hoanoho\/HSE,Hoanoho\/HSE","old_file":"lib\/cfg\/any\/stat\/etc\/haproxy\/errors\/502_fhem.http","new_file":"lib\/cfg\/any\/stat\/etc\/haproxy\/errors\/502_fhem.http","new_contents":"","old_contents":"","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/Hoanoho\/HSE.git\/'\n","license":"bsd-3-clause","lang":"HTTP"} {"commit":"29473ca3adabc71ca2cff8b0e927915e5b91bb15","subject":"[dev] Added a requests file","message":"[dev] Added a requests file\n","repos":"bogdansolga\/spring-boot-training,bogdansolga\/spring-boot-training","old_file":"d02\/d02s03-spring-web\/d02s03e02-spring-oxm-demo\/src\/main\/resources\/requests.http","new_file":"d02\/d02s03-spring-web\/d02s03e02-spring-oxm-demo\/src\/main\/resources\/requests.http","new_contents":"GET http:\/\/localhost:8080\/product\n\n###\n\nPOST http:\/\/localhost:8080\/product\nContent-Type: application\/json\n\n{\n \"id\": 25,\n \"name\": \"A lot of chocolate\"\n}\n\n###","old_contents":"","returncode":1,"stderr":"error: pathspec 'd02\/d02s03-spring-web\/d02s03e02-spring-oxm-demo\/src\/main\/resources\/requests.http' did not match any file(s) known to git\n","license":"apache-2.0","lang":"HTTP"} {"commit":"acdafd25330c21d0e695ba96ab53b26885e8d97e","subject":"Added REST services test file","message":"Added REST services test file\n","repos":"CBIIT\/nci-adult-match-ui,CBIIT\/nci-adult-match-ui,CBIIT\/nci-adult-match-ui","old_file":"misc\/http-tests\/variant-report.http","new_file":"misc\/http-tests\/variant-report.http","new_contents":"","old_contents":"","returncode":128,"stderr":"fatal: unable to access 'https:\/\/github.com\/CBIIT\/nci-adult-match-ui.git\/': The requested URL returned error: 403\n","license":"mit","lang":"HTTP"} {"commit":"af5288b2e269cbafb1da14685af02377bbdc953a","subject":"Remove debug file","message":"Remove debug file\n","repos":"iRail\/iRail,iRail\/iRail,iRail\/iRail","old_file":"NMBS Api requests.http","new_file":"NMBS Api requests.http","new_contents":"","old_contents":"","returncode":1,"stderr":"error: pathspec 'NMBS' did not match any file(s) known to git\nerror: pathspec 'Api' did not match any file(s) known to git\nerror: pathspec 'requests.http' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"HTTP"} {"commit":"86748fb2e43e35f8d7021f2a74f2357d3c678fc4","subject":"Copy transferDomainOut fixtures from developer repo","message":"Copy transferDomainOut fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/transferDomainOut\/success.http","new_file":"spec\/fixtures.http\/transferDomainOut\/success.http","new_contents":"HTTP\/1.1 204 No Content\r\nServer: nginx\r\nDate: Sun, 21 Feb 2016 13:40:35 GMT\r\nConnection: keep-alive\r\nStatus: 204 No Content\r\nX-RateLimit-Limit: 4000\r\nX-RateLimit-Remaining: 3990\r\nX-RateLimit-Reset: 1456063540\r\nCache-Control: no-cache\r\nX-Request-Id: 9af6ab78-7ea8-4675-89f0-14d124fc7ca2\r\nX-Runtime: 3.038699\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/transferDomainOut\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"05ae005f9a0cd51cb44a6fae5fdf8e597e0ad158","subject":"Copy deleteTemplateRecord fixtures from developer repo","message":"Copy deleteTemplateRecord fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/deleteTemplateRecord\/success.http","new_file":"spec\/fixtures.http\/deleteTemplateRecord\/success.http","new_contents":"HTTP\/1.1 204 No Content\r\nServer: nginx\r\nDate: Tue, 03 May 2016 08:00:35 GMT\r\nConnection: keep-alive\r\nStatus: 204 No Content\r\nX-RateLimit-Limit: 2400\r\nX-RateLimit-Remaining: 2397\r\nX-RateLimit-Reset: 1462265481\r\nCache-Control: no-cache\r\nX-Request-Id: f0a48944-1c61-41f4-b379-04f8644d883b\r\nX-Runtime: 0.122787\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/deleteTemplateRecord\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"a9581a28bbb716fd453795500cce095a3a18871e","subject":"webhook: Add subscription.renew fixture","message":"webhook: Add subscription.renew fixture\n\nThis is mostly for reference. There is a bug where we always set \"failed\" state, and this issue should be fixed before we can handle it here.\n","repos":"weppos\/go-dnsimple,aetrion\/dnsimple-go","old_file":"fixtures.http\/webhooks\/subscription.renew\/state-failed.http","new_file":"fixtures.http\/webhooks\/subscription.renew\/state-failed.http","new_contents":"POST \/1djlwbe1 HTTP\/1.1\r\nHost: example.com\r\nContent-Type: application\/json\r\nTotal-Route-Time: 7210\r\nContent-Length: 446\r\nX-Request-Id: e15222f0-83fd-48ae-ab6f-67c8f3198dcc\r\nVia: 1.1 vegur\r\nConnect-Time: 1\r\nAccept-Encoding: gzip\r\nUser-Agent: DNSimple-Webhook-Notifier\/8b16040b4b0e3b18a84c6a300a85119cf638980a\r\nConnection: close\r\n\r\n{\"data\": {\"subscription\": {\"id\": 11111, \"state\": \"subscribed\", \"plan_name\": \"Professional\", \"created_at\": \"2018-12-20T13:40:26Z\", \"updated_at\": \"2019-04-06T08:57:01Z\"}}, \"name\": \"subscription.renew:failed\", \"actor\": {\"id\": \"system\", \"entity\": \"dnsimple\", \"pretty\": \"support@dnsimple.com\"}, \"account\": {\"id\": 1111, \"display\": \"xxxxxxxx\", \"identifier\": \"xxxxxxxx\"}, \"api_version\": \"v2\", \"request_identifier\": \"e08f7b64-81b2-454c-a090-ee012cbf2141\"}\r\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'fixtures.http\/webhooks\/subscription.renew\/state-failed.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"0bc7f0947163803600ab6321d6108de12e4ae3fe","subject":"Updated http test scripts","message":"Updated http test scripts\n","repos":"CBIIT\/nci-adult-match-ui,CBIIT\/nci-adult-match-ui,CBIIT\/nci-adult-match-ui","old_file":"misc\/http-tests\/variant-report.http","new_file":"misc\/http-tests\/variant-report.http","new_contents":"","old_contents":"","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/CBIIT\/nci-adult-match-ui.git\/'\n","license":"mit","lang":"HTTP"} {"commit":"5e307cca90341d266afed2e982d371efb391c4ac","subject":"Cleanup","message":"Cleanup\n","repos":"biow0lf\/eve_online,biow0lf\/eve_online","old_file":"server.http","new_file":"server.http","new_contents":"","old_contents":"","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/biow0lf\/eve_online.git\/'\n","license":"mit","lang":"HTTP"} {"commit":"147ad00304355612a4a89966de61efde77eba2c5","subject":"Add restclient","message":"Add restclient\n","repos":"thiderman\/drunkenfall,thiderman\/drunkenfall,thiderman\/drunkenfall","old_file":"restcilent.http","new_file":"restcilent.http","new_contents":"# List all the tournaments in the current DB\nGET http:\/\/127.0.0.1:42000\/api\/towerfall\/tournament\/","old_contents":"","returncode":1,"stderr":"error: pathspec 'restcilent.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"60297697d9b8ce53640c0569e717d5c5b2f9f163","subject":"Add HTTP requests for K8s API demo","message":"Add HTTP requests for K8s API demo\n","repos":"rstropek\/DockerVS2015Intro,rstropek\/DockerVS2015Intro,rstropek\/DockerVS2015Intro,rstropek\/DockerVS2015Intro,rstropek\/DockerVS2015Intro,rstropek\/DockerVS2015Intro","old_file":"dockerDemos\/13-kube-intro\/api-demo.http","new_file":"dockerDemos\/13-kube-intro\/api-demo.http","new_contents":"GET http:\/\/127.0.0.1:8001\/api\/v1\/nodes\nAccept: application\/json\n\n###\nGET http:\/\/127.0.0.1:8001\/api\/v1\/namespaces\/default\/pods\n\n###\nPOST http:\/\/127.0.0.1:8001\/api\/v1\/namespaces\/default\/pods\nContent-Type: application\/json\n\n{\n \"apiVersion\": \"v1\",\n \"kind\": \"Pod\",\n \"metadata\": {\n \"name\": \"api-demo-pod\",\n \"labels\": {\n \"app\": \"api-demo\"\n }\n },\n \"spec\": {\n \"containers\": [\n {\n \"name\": \"api-demo-pod\",\n \"image\": \"nginx:alpine\",\n \"ports\": [\n { \"containerPort\": 80 }\n ]\n }\n ]\n }\n}\n\n###\nDELETE http:\/\/127.0.0.1:8001\/api\/v1\/namespaces\/default\/pods\/api-demo-pod\n\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'dockerDemos\/13-kube-intro\/api-demo.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"734f710ea70ba97ad01ab623a00c4e3a990fa8c2","subject":"Copy createTemplateRecord fixtures from developer repo","message":"Copy createTemplateRecord fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/createTemplateRecord\/created.http","new_file":"spec\/fixtures.http\/createTemplateRecord\/created.http","new_contents":"HTTP\/1.1 201 Created\r\nServer: nginx\r\nDate: Tue, 03 May 2016 07:51:33 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nStatus: 201 Created\r\nX-RateLimit-Limit: 2400\r\nX-RateLimit-Remaining: 2398\r\nX-RateLimit-Reset: 1462265481\r\nETag: W\/\"a8518ecf2fd31e6c22b0acccb5cef797\"\r\nCache-Control: max-age=0, private, must-revalidate\r\nX-Request-Id: b2d51e79-b3d2-4abe-9184-155fb5546617\r\nX-Runtime: 0.190813\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n{\"data\":{\"id\":300,\"template_id\":268,\"name\":\"\",\"content\":\"mx.example.com\",\"ttl\":600,\"priority\":10,\"type\":\"MX\",\"created_at\":\"2016-05-03T07:51:33.202Z\",\"updated_at\":\"2016-05-03T07:51:33.202Z\"}}","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/createTemplateRecord\/created.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"3dbe1222d7d6f41c3de4597eabbbf83b4c3c377b","subject":"Add new fixture for sample error","message":"Add new fixture for sample error\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/method-not-allowed.http","new_file":"spec\/fixtures.http\/method-not-allowed.http","new_contents":"HTTP\/1.1 405 Method Not Allowed\r\nServer: nginx\r\nDate: Fri, 15 Apr 2016 14:15:04 GMT\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nStatus: 405 Method Not Allowed\r\nAllow: DELETE, GET, HEAD, PATCH, POST\r\nCache-Control: no-cache\r\nX-Request-Id: 64c0a5e1-4cbb-4287-98a7-93085a77ac55\r\nX-Runtime: 0.050104\r\n\r\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/method-not-allowed.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"061568830dd733b902640a2f4e618cd79ed7b026","subject":"Copy template not found fixture from developer repo","message":"Copy template not found fixture from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/notfound-template.http","new_file":"spec\/fixtures.http\/notfound-template.http","new_contents":"HTTP\/1.1 404 Not Found\r\nServer: nginx\r\nDate: Wed, 04 May 2016 09:35:45 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nStatus: 404 Not Found\r\nCache-Control: no-cache\r\nX-Request-Id: 8d380d93-b974-4d51-82a3-5b10bce4167a\r\nX-Runtime: 0.071884\r\n\r\n{\"message\":\"Template `beta` not found\"}","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/notfound-template.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"a9b279afd52883c48736a1fd962a8ce7be95ae6a","subject":"vscode REST script","message":"vscode REST script\n","repos":"jagilber\/powershellScripts,jagilber\/powershellScripts","old_file":"test.http","new_file":"test.http","new_contents":"","old_contents":"","returncode":128,"stderr":"fatal: unable to access 'https:\/\/github.com\/jagilber\/powershellScripts.git\/': The requested URL returned error: 403\n","license":"mit","lang":"HTTP"} {"commit":"a56fa212fa68b1626572d5a80a04936018c24309","subject":"Fix typo.","message":"Fix typo.\n","repos":"mehulsbhatt\/haproxy-ddos,analytically\/haproxy-ddos","old_file":"403-html.http","new_file":"403-html.http","new_contents":"HTTP\/1.0 200 OK\nCache-Control: no-cache\nConnection: close\nContent-Type: text\/html\nStrict-Transport-Security: max-age=631138519; includeSubdomains; preload\n\n<html>\n <head>\n <style type=\"text\/css\">\n html, body {\n margin: 0;\n padding: 0 0;\n background-color: #f9f9f9;\n font-weight: 500;\n color: #666;\n text-align: center;\n }\n .abs {\n position: absolute;\n top: 50%;\n left: 30px;\n right: 30px;\n }\n div.title {\n font-size: 65px;\n margin-top: -250px;\n }\n p.message {\n font-size: 25px;\n margin-top: 200px;\n line-height: 40px;\n }\n <\/style>\n <\/head>\n <body><div class=\"title abs\">Site inaccessible<\/div><div class=\"image abs\"><\/div><p class=\"message abs\">Unfortunately this site is not accessible from your location.<br>VPN or Tor connections are not permitted.<\/p><\/body>\n<\/html>","old_contents":"HTTP\/1.0 200 OK\nCache-Control: no-cache\nConnection: close\nContent-Type: text\/html\nStrict-Transport-Security: max-age=631138519; includeSubdomains; preload\n\n<html>\n <head>\n <style type=\"text\/css\">\n html, body {\n margin: 0;\n padding: 0 0;\n background-color: #f9f9f9;\n font-weight: 500;\n color: #666;\n text-align: center;\n }\n .abs {\n position: absolute;\n top: 50%;\n left: 30px;\n right: 30px;\n }\n div.title {\n font-size: 65px;\n margin-top: -250px;\n }\n p.message {\n font-size: 25px;\n margin-top: 200px;\n line-height: 40px;\n }\n <\/style>\n <\/head>\n <body><div class=\"title abs\">Site Inaccesible<\/div><div class=\"image abs\"><\/div><p class=\"message abs\">Unfortunately this site is not accessible from your location.<br>VPN or Tor connections are not permitted.<\/p><\/body>\n<\/html>","returncode":0,"stderr":"","license":"apache-2.0","lang":"HTTP"} {"commit":"99b976f80463cdc36e7be093ffa5b648d0786263","subject":"Adding the REST URLs for testing","message":"Adding the REST URLs for testing\n","repos":"MitchellJThomas\/medir,MitchellJThomas\/medir,MitchellJThomas\/medir,MitchellJThomas\/medir","old_file":"resources\/particle.http","new_file":"resources\/particle.http","new_contents":"","old_contents":"","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/MitchellJThomas\/medir.git\/'\n","license":"epl-1.0","lang":"HTTP"} {"commit":"a1a6a92c6d25218034e5125601441e25bf9b0a12","subject":"fix reboot loop","message":"fix reboot loop\n","repos":"Hoanoho\/HSE,Hoanoho\/HSE","old_file":"lib\/cfg\/any\/stat\/etc\/haproxy\/errors\/502_fhem.http","new_file":"lib\/cfg\/any\/stat\/etc\/haproxy\/errors\/502_fhem.http","new_contents":"","old_contents":"","returncode":128,"stderr":"fatal: unable to access 'https:\/\/github.com\/Hoanoho\/HSE.git\/': The requested URL returned error: 403\n","license":"bsd-3-clause","lang":"HTTP"} {"commit":"54e6b572e2f1d5e1bff92979169a4debd4c611f2","subject":"Create POST_create_movie.http","message":"Create POST_create_movie.http","repos":"bryanbarnard\/ISWQ2014,bryanbarnard\/ISWQ2014","old_file":"samples\/POST_create_movie.http","new_file":"samples\/POST_create_movie.http","new_contents":"# REQUEST\nPOST 192.241.203.50:1337 \nAccept: application\/vnd.collection+json\nContent-Type: application\/vnd.collection+json\n{\n \"template\": {\n \"data\": [\n {\n \"name\": \"name\",\n \"value\": \"Fletch Lives\"\n },\n {\n \"name\": \"description\",\n \"value\": \"Chevy Chase as worlds best detective\"\n },\n {\n \"name\": \"datePublished\",\n \"value\": \"1993-03-28T21:51:08.406Z\"\n },\n {\n \"name\": \"about\",\n \"value\": \"Police, detective\"\n },\n {\n \"name\": \"genre\",\n \"value\": \"comedy\"\n },\n {\n \"name\": \"version\",\n \"value\": \"2.0\"\n },\n {\n \"name\": \"timeRequired\",\n \"value\": \"PT100M\"\n },\n {\n \"name\": \"contentRating\",\n \"value\": \"r\"\n }\n ]\n }\n}\n\n\n# RESPONSE\n201 Content Created\nDate: 2014-03-20T21:28:42.438Z\nLocation: http:\/\/192.241.203.50\/api\/movies\/9aeb95b954504588a84d1dd8a47e77bc\n\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'samples\/POST_create_movie.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"50db84d9bfb39b29a4f58a5a48e20454106349ff","subject":"Create GET_movie_by_id_sample.http","message":"Create GET_movie_by_id_sample.http","repos":"bryanbarnard\/ISWQ2014,bryanbarnard\/ISWQ2014","old_file":"samples\/GET_movie_by_id_sample.http","new_file":"samples\/GET_movie_by_id_sample.http","new_contents":"# Request\nGET \/api\/movies\/157a9b89b8c049ad9ef70663de0ef68e HTTP\/1.1\nHost:iswq2014.bryanbarnard.com\nX-Target-URI:http:\/\/iswq2014.bryanbarnard.com:1337\nAccept:application\/vnd.collection+json\nConnection:Close\n\n# Response\nHTTP\/1.1 200 OK\nDate:2014-03-20T20:50:11.823Z\nContent-Length:2712\nContent-Type:application\/vnd.collection+json\nCache-Control:no-cache, no-store, must-revalidate\n\n{\n \"collection\": {\n \"version\": \"1.0\",\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies?offset=0&limit=5\",\n \"links\": [\n {\n \"href\": \"https:\/\/rawgithub.com\/bryanbarnard\/ISWQ2014\/master\/docs\/movies.xml\",\n \"rel\": \"profile\"\n },\n {\n \"href\": \"https:\/\/rawgithub.com\/bryanbarnard\/ISWQ2014\/master\/docs\/movies.xml#movie\",\n \"rel\": \"type\"\n },\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies\",\n \"rel\": \"first\",\n \"prompt\": \"first page of results\"\n },\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies\",\n \"rel\": \"previous\",\n \"prompt\": \"immediate previous page results\"\n },\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies?offset=-4&limit=5\",\n \"rel\": \"last\",\n \"prompt\": \"last page of results\"\n }\n ],\n \"items\": [\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies\/157a9b89b8c049ad9ef70663de0ef68e\",\n \"rel\": \"item\",\n \"rt\": \"movie\",\n \"data\": [\n {\n \"name\": \"name\",\n \"value\": \"So I Married An Axe Murderer 001\",\n \"prompt\": \"title of the movie\"\n },\n {\n \"name\": \"description\",\n \"value\": \"A San Francisco poet who fears commitment has a girlfriend who he suspects may not be who she appears.\",\n \"prompt\": \"description of movie\"\n },\n {\n \"name\": \"datePublished\",\n \"value\": \"1993-03-28T21:51:08.406Z\",\n \"prompt\": \"date movie was published\"\n },\n {\n \"name\": \"about\",\n \"value\": \"Cult Classic Michael Myers\",\n \"prompt\": \"short description of this item\"\n },\n {\n \"name\": \"genre\",\n \"value\": \"comedy\",\n \"prompt\": \"movie genre\"\n },\n {\n \"name\": \"version\",\n \"value\": \"1.0\",\n \"prompt\": \"version of this release\"\n },\n {\n \"name\": \"timeRequired\",\n \"value\": \"PT120M\",\n \"prompt\": \"time required to view this movie, aka duration\"\n },\n {\n \"name\": \"contentRating\",\n \"value\": \"r\",\n \"prompt\": \"rating of the movie\"\n },\n {\n \"name\": \"created\",\n \"value\": \"2014-03-17T05:02:30.338Z\",\n \"prompt\": \"record created\"\n },\n {\n \"name\": \"updated\",\n \"value\": \"2014-03-17T05:02:30.338Z\",\n \"prompt\": \"record last updated\"\n }\n ],\n \"links\": [\n {\n \"rel\": \"type\",\n \"href\": \"https:\/\/rawgithub.com\/bryanbarnard\/ISWQ2014\/master\/docs\/movies.xml#movie\"\n }\n ]\n }\n ],\n \"queries\": [\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/\/movies\",\n \"rel\": \"search\",\n \"rt\": \"movie\",\n \"prompt\": \"Movie-Search By Name\",\n \"name\": \"movie-search\",\n \"data\": {\n \"name\": \"name\",\n \"value\": \"\",\n \"prompt\": \"Name\"\n }\n }\n ],\n \"template\": {\n \"data\": [\n {\n \"name\": \"name\",\n \"value\": \"\",\n \"prompt\": \"title of movie\",\n \"required\": \"true\"\n },\n {\n \"name\": \"description\",\n \"value\": \"\",\n \"prompt\": \"description of movie\",\n \"required\": \"true\"\n },\n {\n \"name\": \"datePublished\",\n \"value\": \"\",\n \"prompt\": \"date movie was published\",\n \"required\": \"true\"\n },\n {\n \"name\": \"about\",\n \"value\": \"\",\n \"prompt\": \"short description of film\",\n \"required\": \"true\"\n },\n {\n \"name\": \"genre\",\n \"value\": \"\",\n \"prompt\": \"movie genre\",\n \"required\": \"true\"\n },\n {\n \"name\": \"version\",\n \"value\": \"\",\n \"prompt\": \"version of this release\",\n \"required\": \"true\"\n },\n {\n \"name\": \"timeRequired\",\n \"value\": \"\",\n \"prompt\": \"time required to view this movie aka duration\",\n \"required\": \"true\"\n },\n {\n \"name\": \"contentRating\",\n \"value\": \"\",\n \"prompt\": \"movie content rating\",\n \"required\": \"true\"\n }\n ]\n }\n }\n}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'samples\/GET_movie_by_id_sample.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"640ad069243114042fcf60e8b30c422fbcec1e0d","subject":"ehaproxy custom 503 error resposne with json","message":"ehaproxy custom 503 error resposne with json\n","repos":"funkygao\/gafka,funkygao\/gafka,funkygao\/gafka,funkygao\/gafka,funkygao\/gafka","old_file":"cmd\/ehaproxy\/command\/templates\/503.http","new_file":"cmd\/ehaproxy\/command\/templates\/503.http","new_contents":"HTTP\/1.0 503 Service Unavailable\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: application\/json; charset=utf8\r\n\r\n{\"errmsg\":\"No server is available to handle this request\"}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'cmd\/ehaproxy\/command\/templates\/503.http' did not match any file(s) known to git\n","license":"apache-2.0","lang":"HTTP"} {"commit":"c97b9d55f342c363dc56f72b2be11cb6f05d2761","subject":"Create GET_movies_paged.http","message":"Create GET_movies_paged.http","repos":"bryanbarnard\/ISWQ2014,bryanbarnard\/ISWQ2014","old_file":"samples\/GET_movies_paged.http","new_file":"samples\/GET_movies_paged.http","new_contents":"# REQUEST\nGET \/api\/movies?offset=0&limit=1 HTTP\/1.1\nHost: iswq2014.bryanbarnard.com\nX-Target-URI: http:\/\/iswq2014.bryanbarnard.com:1337\nAccept: application\/vnd.collection+json\nConnection: close\n\n# RESPONSE\nHTTP\/1.1 200 OK\nDate:2014-03-20T21:01:31.272Z\nContent-Length:2711\nConnection:close\nContent-Type:application\/vnd.collection+json\nCache-Control:no-cache, no-store, must-revalidate\n\n{\n \"collection\": {\n \"version\": \"1.0\",\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies?offset=0&limit=1\",\n \"links\": [\n {\n \"href\": \"https:\/\/rawgithub.com\/bryanbarnard\/ISWQ2014\/master\/docs\/movies.xml\",\n \"rel\": \"profile\"\n },\n {\n \"href\": \"https:\/\/rawgithub.com\/bryanbarnard\/ISWQ2014\/master\/docs\/movies.xml#movie\",\n \"rel\": \"type\"\n },\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies\",\n \"rel\": \"first\",\n \"prompt\": \"first page of results\"\n },\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies\",\n \"rel\": \"previous\",\n \"prompt\": \"immediate previous page results\"\n },\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies?offset=0&limit=1\",\n \"rel\": \"last\",\n \"prompt\": \"last page of results\"\n }\n ],\n \"items\": [\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/movies\/157a9b89b8c049ad9ef70663de0ef68e\",\n \"rel\": \"item\",\n \"rt\": \"movie\",\n \"data\": [\n {\n \"name\": \"name\",\n \"value\": \"So I Married An Axe Murderer 001\",\n \"prompt\": \"title of the movie\"\n },\n {\n \"name\": \"description\",\n \"value\": \"A San Francisco poet who fears commitment has a girlfriend who he suspects may not be who she appears.\",\n \"prompt\": \"description of movie\"\n },\n {\n \"name\": \"datePublished\",\n \"value\": \"1993-03-28T21:51:08.406Z\",\n \"prompt\": \"date movie was published\"\n },\n {\n \"name\": \"about\",\n \"value\": \"Cult Classic Michael Myers\",\n \"prompt\": \"short description of this item\"\n },\n {\n \"name\": \"genre\",\n \"value\": \"comedy\",\n \"prompt\": \"movie genre\"\n },\n {\n \"name\": \"version\",\n \"value\": \"1.0\",\n \"prompt\": \"version of this release\"\n },\n {\n \"name\": \"timeRequired\",\n \"value\": \"PT120M\",\n \"prompt\": \"time required to view this movie, aka duration\"\n },\n {\n \"name\": \"contentRating\",\n \"value\": \"r\",\n \"prompt\": \"rating of the movie\"\n },\n {\n \"name\": \"created\",\n \"value\": \"2014-03-17T05:02:30.338Z\",\n \"prompt\": \"record created\"\n },\n {\n \"name\": \"updated\",\n \"value\": \"2014-03-17T05:02:30.338Z\",\n \"prompt\": \"record last updated\"\n }\n ],\n \"links\": [\n {\n \"rel\": \"type\",\n \"href\": \"https:\/\/rawgithub.com\/bryanbarnard\/ISWQ2014\/master\/docs\/movies.xml#movie\"\n }\n ]\n }\n ],\n \"queries\": [\n {\n \"href\": \"http:\/\/iswq2014.bryanbarnard.com:1337\/api\/\/movies\",\n \"rel\": \"search\",\n \"rt\": \"movie\",\n \"prompt\": \"Movie-Search By Name\",\n \"name\": \"movie-search\",\n \"data\": {\n \"name\": \"name\",\n \"value\": \"\",\n \"prompt\": \"Name\"\n }\n }\n ],\n \"template\": {\n \"data\": [\n {\n \"name\": \"name\",\n \"value\": \"\",\n \"prompt\": \"title of movie\",\n \"required\": \"true\"\n },\n {\n \"name\": \"description\",\n \"value\": \"\",\n \"prompt\": \"description of movie\",\n \"required\": \"true\"\n },\n {\n \"name\": \"datePublished\",\n \"value\": \"\",\n \"prompt\": \"date movie was published\",\n \"required\": \"true\"\n },\n {\n \"name\": \"about\",\n \"value\": \"\",\n \"prompt\": \"short description of film\",\n \"required\": \"true\"\n },\n {\n \"name\": \"genre\",\n \"value\": \"\",\n \"prompt\": \"movie genre\",\n \"required\": \"true\"\n },\n {\n \"name\": \"version\",\n \"value\": \"\",\n \"prompt\": \"version of this release\",\n \"required\": \"true\"\n },\n {\n \"name\": \"timeRequired\",\n \"value\": \"\",\n \"prompt\": \"time required to view this movie aka duration\",\n \"required\": \"true\"\n },\n {\n \"name\": \"contentRating\",\n \"value\": \"\",\n \"prompt\": \"movie content rating\",\n \"required\": \"true\"\n }\n ]\n }\n }\n}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'samples\/GET_movies_paged.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"5dc45ce02ce4e80dc1869c2dc93f015ee1fc9368","subject":"[dev] Added a few HTTP requests","message":"[dev] Added a few HTTP requests\n","repos":"bogdansolga\/spring-boot-training,bogdansolga\/spring-boot-training","old_file":"d02\/d02s03\/d02s03e01-spring-web-annotations\/src\/main\/resources\/http_requests.http","new_file":"d02\/d02s03\/d02s03e01-spring-web-annotations\/src\/main\/resources\/http_requests.http","new_contents":"GET http:\/\/localhost:8080\/hello\n\n###\nPOST http:\/\/localhost:8080\/requestBody\n\nA request body\n\n###\nPOST http:\/\/localhost:8080\/responseBody\n\n###\nPOST http:\/\/localhost:8080\/product\nContent-Type: application\/json\n\n{\n \"id\": 2,\n \"name\": \"Another one\"\n}\n\n###\nGET http:\/\/localhost:8080\/product\/1\n\n###\nPOST http:\/\/localhost:8080\/product\n\n###\nPOST http:\/\/localhost:8080\/matches\/2\/score\n\n###\nGET http:\/\/localhost:8080\/product\/6\n\n###","old_contents":"","returncode":1,"stderr":"error: pathspec 'd02\/d02s03\/d02s03e01-spring-web-annotations\/src\/main\/resources\/http_requests.http' did not match any file(s) known to git\n","license":"apache-2.0","lang":"HTTP"} {"commit":"264e021fda530641853e483bb3a5f724b10e5b5a","subject":"Updated the HTTP request file","message":"Updated the HTTP request file\n\n","repos":"cedx\/free-mobile.dart","old_file":"share\/api.http","new_file":"share\/api.http","new_contents":"","old_contents":"","returncode":128,"stderr":"remote: Support for password authentication was removed on August 13, 2021.\nremote: Please see https:\/\/docs.github.com\/en\/get-started\/getting-started-with-git\/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.\nfatal: Authentication failed for 'https:\/\/github.com\/cedx\/free-mobile.dart.git\/'\n","license":"mit","lang":"HTTP"} {"commit":"09057aad2bc47da16b76c0861c1541b6617431c7","subject":"[#2] Add: template maintenance","message":"[#2] Add: template maintenance\n","repos":"dgnest\/ansible-role-haproxy","old_file":"templates\/maintenance.http","new_file":"templates\/maintenance.http","new_contents":"HTTP\/1.0 503 Service Unavailable\nCache-Control: no-cache\nConnection: close\nContent-Type: text\/html\n\n<html><body><h1>503 Service Unavailable<\/h1>\n{{ haproxy.maintenance.message }}\n<\/body><\/html>","old_contents":"","returncode":1,"stderr":"error: pathspec 'templates\/maintenance.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"2c2d62ce934fa83c5672a0a5d6c28bf82a4c47be","subject":"REST API Tests","message":"REST API Tests\n","repos":"TotallyInformation\/node-red-contrib-uibuilder,TotallyInformation\/node-red-contrib-uibuilder","old_file":"tests\/newapi.http","new_file":"tests\/newapi.http","new_contents":"","old_contents":"","returncode":128,"stderr":"fatal: unable to access 'https:\/\/github.com\/TotallyInformation\/node-red-contrib-uibuilder.git\/': The requested URL returned error: 403\n","license":"apache-2.0","lang":"HTTP"} {"commit":"f51e218b36599df6d1f970ca55d0761e542c42ba","subject":"add scratch file for api calls","message":"add scratch file for api calls\n","repos":"Ky7m\/DemoCode,Ky7m\/DemoCode,Ky7m\/DemoCode,Ky7m\/DemoCode","old_file":"DebuggingScenarios\/APICalls.http","new_file":"DebuggingScenarios\/APICalls.http","new_contents":"GET https:\/\/localhost:5001\/DebuggingScenarios\/exception\nAccept: application\/json\n###\n\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'DebuggingScenarios\/APICalls.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"f7a9f69bb5d6774562a4e22dd40aa48973ca738a","subject":"Copy deleteTemplate fixtures from developer repo","message":"Copy deleteTemplate fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/deleteTemplate\/success.http","new_file":"spec\/fixtures.http\/deleteTemplate\/success.http","new_contents":"HTTP\/1.1 204 No Content\r\nServer: nginx\r\nDate: Thu, 24 Mar 2016 11:05:38 GMT\r\nConnection: keep-alive\r\nStatus: 204 No Content\r\nX-RateLimit-Limit: 2400\r\nX-RateLimit-Remaining: 2397\r\nX-RateLimit-Reset: 1458821049\r\nCache-Control: no-cache\r\nX-Request-Id: 967713d5-a203-40ee-875c-1df07868b7eb\r\nX-Runtime: 0.147576\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/deleteTemplate\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"40d78e75e62e8c0e517507288aea999eeacce3ac","subject":"Extended HTTP-Client file","message":"Extended HTTP-Client file\n","repos":"crispab\/codekvast,crispab\/codekvast,crispab\/codekvast,crispab\/codekvast,crispab\/codekvast,crispab\/codekvast","old_file":"tools\/HTTP-Client\/Health check.http","new_file":"tools\/HTTP-Client\/Health check.http","new_contents":"","old_contents":"","returncode":1,"stderr":"error: pathspec 'tools\/HTTP-Client\/Health' did not match any file(s) known to git\nerror: pathspec 'check.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"dbceeef6bd89f06d8fa9505c713c04c71abd6abd","subject":"Added some (manual) tests for the REST API","message":"Added some (manual) tests for the REST API\n","repos":"sbsdev\/mdr2","old_file":"test\/rest-api.http","new_file":"test\/rest-api.http","new_contents":"# -*- mode: restclient; -*-\n\n#################################\n# Manual tests for the REST API #\n#################################\n\n########\n# Auth #\n########\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"ada\",\n \"password\": \"lovelace\"\n}\n\n# Get a token\nPOST http:\/\/localhost:3000\/api\/login\nContent-Type: application\/json\n{\n \"username\": \"berta\",\n \"password\": \"lovelace\"\n}\n\n###############\n# Productions #\n###############\n\n# Get productions\nGET http:\/\/localhost:3000\/api\/productions\n\n# Get one production\nGET http:\/\/localhost:3000\/api\/productions?limit=1\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions\/31411\n\n# Get a specific production in the form of transit\nGET http:\/\/localhost:3000\/api\/productions\/31411\nAccept: application\/transit+json\n\n# Get a specific production\nGET http:\/\/localhost:3000\/api\/productions?product_number=DY33514\n\n# Add a production\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/json\n{\n \"title\": \"Hehe\",\n \"creator\": \"Foo\",\n \"description\": \"not much\",\n \"source\": \"978-3-257-07184-11\",\n \"language\": \"de\",\n \"source_date\": \"2022-06-16T09:38:03.196Z\",\n \"source_publisher\": \"Vargos\",\n \"library_number\": \"PNX 8434\"\n}\n\n# Add a production using transit\nPUT http:\/\/localhost:3000\/api\/productions\nContent-Type: application\/transit+json\n[\n \"^ \",\n \"~:description\",\n \"Der Held muss in die Welt hinaus und Abenteuer erleben, um ein Held zu werden. Und was ist mit der Heldin? Doris D\u00f6rrie erz\u00e4hlt von drei Reisen nach San Francisco, Japan und Marokko und davon, als Frau in der Welt unterwegs zu sein. Sich dem Ungewissen, Fremden auszusetzen heisst immer auch, den eigenen \u00c4ngsten, Abh\u00e4ngigkeiten, Verlusten ins Auge zu sehen. Und dabei zur Heldin der eigenen Geschichte zu werden.\",\n \"~:creator\",\n \"D\u00f6rrie, Doris\",\n \"~:source\",\n \"978-3-257-07184-9\",\n \"~:title\",\n \"Die Heldin reist\",\n \"~:source_publisher\",\n \"Diogenes\",\n \"~:language\",\n \"de\",\n \"~:source_date\",\n [\n \"~#LocalDate\",\n \"2022-01-01\"\n ],\n \"~:library_number\",\n \"PNX 8434\"\n]\n\n# Get the xml for a production\nGET http:\/\/localhost:3000\/api\/productions\/31017\/xml\nContent-Type: application\/json\n\n# Set the xml for a production\nPOST http:\/\/localhost:3000\/api\/productions\/31017\/xml\nAccept: application\/json\nContent-Type: multipart\/form-data\n\n< \/home\/eglic\/Downloads\/31515.xml\n\n################################\n# Assign the library signature #\n################################\n\n# Assign a library signature to a production\n# should produce a 204\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign a library signature to a non-existing production\n# should produce a 404\nPATCH http:\/\/localhost:3000\/api\/productions\/301111111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds70000\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"haha\"\n}\n\n# Assign an invalid library signature to a production\n# should produce a 400\nPATCH http:\/\/localhost:3000\/api\/productions\/30111\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds123\"\n}\n\n# Assign an invalid library signature to a production which doesn't have the right state\n# should produce a 409\nPATCH http:\/\/localhost:3000\/api\/productions\/31298\nAccept: application\/json\nContent-Type: application\/json\n{\n \"library_signature\": \"ds12345\"\n}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'test\/rest-api.http' did not match any file(s) known to git\n","license":"agpl-3.0","lang":"HTTP"} {"commit":"fd47266f7a56ee4a24405d7f89160fe56fd443db","subject":"Copy listServices fixtures from developer repo","message":"Copy listServices fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/listServices\/success.http","new_file":"spec\/fixtures.http\/listServices\/success.http","new_contents":"HTTP\/1.1 200 OK\nServer: nginx\nDate: Fri, 15 Apr 2016 14:57:44 GMT\nContent-Type: application\/json; charset=utf-8\nTransfer-Encoding: chunked\nConnection: keep-alive\nStatus: 200 OK\nX-RateLimit-Limit: 2400\nX-RateLimit-Remaining: 2393\nX-RateLimit-Reset: 1460735221\nETag: W\/\"0eae35f5ed682b90fe33b6e5809b2194\"\nCache-Control: max-age=0, private, must-revalidate\nX-Request-Id: e84f8594-f7a8-47d3-81f7-83f422107084\nX-Runtime: 0.200949\nStrict-Transport-Security: max-age=31536000\n\n{\"data\":[{\"id\":1,\"name\":\"Service 1\",\"short_name\":\"service1\",\"description\":\"First service example.\",\"setup_description\":null,\"requires_setup\":false,\"default_subdomain\":null,\"created_at\":\"2014-02-14T19:15:19.953Z\",\"updated_at\":\"2016-03-04T09:23:27.655Z\",\"settings\":[]},{\"id\":2,\"name\":\"Service 2\",\"short_name\":\"service2\",\"description\":\"Second service example.\",\"setup_description\":null,\"requires_setup\":true,\"default_subdomain\":null,\"created_at\":\"2014-02-14T19:15:19.953Z\",\"updated_at\":\"2016-03-04T09:23:27.655Z\",\"settings\":[{\"name\":\"username\",\"label\":\"Service 2 Account Username\",\"append\":\".service2.com\",\"description\":\"Your Service2 username is used to connect services to your account.\",\"example\":\"username\",\"password\":false}]}],\"pagination\":{\"current_page\":1,\"per_page\":30,\"total_entries\":2,\"total_pages\":1}}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/listServices\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"b25b31c7f007436286a275054d21cbbe86eb5e43","subject":"added contract doc","message":"added contract doc\n","repos":"ivanromakh\/openprocurement.tender.limited,VolVoz\/openprocurement.tender.limited,openprocurement\/openprocurement.tender.limited","old_file":"docs\/source\/tutorial\/tender-contract-sign.http","new_file":"docs\/source\/tutorial\/tender-contract-sign.http","new_contents":"$ http -j PATCH https:\/\/api-sandbox.openprocurement.org\/api\/0\/tenders\/2d06f1999dcf436fb61ccd0168702459\/contracts\/9fa64f1e657a4ab18bbe37650243c150?acc_token=1234558d25d6421588b2597504b747ed data:={\"status\":\"active\"}\nPOST \/api\/0\/tenders\/2d06f1999dcf436fb61ccd0168702459\/contracts\/9fa64f1e657a4ab18bbe37650243c150 HTTP\/1.1\r\nContent-Type: application\/json; charset=utf-8\r\n\r\n{\n \"data\": [\n {\n \"awardID\": \"d373338bc3324f14b8b3d4af68922773\", \n \"id\": \"9fa64f1e657a4ab18bbe37650243c150\", \n \"status\": \"active\"\n }\n ]\n}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'docs\/source\/tutorial\/tender-contract-sign.http' did not match any file(s) known to git\n","license":"apache-2.0","lang":"HTTP"} {"commit":"f3be7e233ee230ff7b6eb6a089aadbcdab2d496d","subject":"Enable local (unauthorized) testing to set \/rest\/preferences","message":"Enable local (unauthorized) testing to set \/rest\/preferences\n","repos":"jugda\/dukecon_server,dukecon\/dukecon_server,jugda\/dukecon_server,jugda\/dukecon_server,dukecon\/dukecon_server,dukecon\/dukecon_server","old_file":"samples\/setPreferencesNoauth.http","new_file":"samples\/setPreferencesNoauth.http","new_contents":"# Start server with 'noauth' Spring profile\n\nPOST http:\/\/localhost:8080\/rest\/noauthpreferences\nContent-Type: application\/json\nAccept: application\/json\n\n[{\"eventId\":\"548987\",\"version\":\"1\"},{\"eventId\":\"548999\",\"version\":\"1\"},{\"eventId\":\"549046\",\"version\":\"1\"},{\"eventId\":\"549095\",\"version\":\"1\"},{\"eventId\":\"549144\",\"version\":\"1\"},{\"eventId\":\"569955\",\"version\":\"1\"},{\"eventId\":\"570053\",\"version\":\"1\"}]\n\n###\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'samples\/setPreferencesNoauth.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"450d0fd157ed4d84fdafaf5861c1166b502f1cee","subject":"(feat) add sample requests to be played with IntelliJ IDEA HTTP client","message":"(feat) add sample requests to be played with IntelliJ IDEA HTTP client\n","repos":"jonathanlermitage\/manon,jonathanlermitage\/manon,jonathanlermitage\/manon","old_file":"misc\/api-rest-queries.http","new_file":"misc\/api-rest-queries.http","new_contents":"### (sample requests to be played with IntelliJ IDEA HTTP client)\n\n### ------------------------------------------------\n### --- SPRING ACTUATOR ---\n\n### authorized users get full health (app status and details), see management.endpoint.health.show-details: when_authorized\nGET http:\/\/localhost:8080\/actuator\/health\nAuthorization: Basic ACTUATOR woot\n\n### anonymous and not authorized users get minimal health (app status only)\nGET http:\/\/localhost:8080\/actuator\/health\n\n### get application info: name and version\nGET http:\/\/localhost:8080\/actuator\/info\nAuthorization: Basic ACTUATOR woot\n\n### ------------------------------------------------\n### --- USER API ---\n\n### register a new user\nPOST http:\/\/localhost:8080\/api\/v1\/user\nContent-Type: application\/json\n\n{\n \"username\": \"NEWUSER\",\n \"password\": \"p4ssworD\"\n}\n\n### new user gets his profile\nGET http:\/\/localhost:8080\/api\/v1\/user\nAuthorization: Basic NEWUSER p4ssworD\n\n### ------------------------------------------------\n### --- USER ADMIN API ---\n\n### list all users\nGET http:\/\/localhost:8080\/api\/v1\/admin\/user\/all?offset=0&size=100&sort=creationDate,DESC\nAuthorization: Basic ROOT woot\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'misc\/api-rest-queries.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"32e9d5f8c229359b9aebc8440407c2153aa4fd80","subject":"basic es http","message":"basic es http\n","repos":"sathishk\/zols,sathishk\/zols,sathishk\/zols","old_file":"elastic.http","new_file":"elastic.http","new_contents":"@base = http:\/\/localhost:9200\n\n#### Basic Metadata\nGET {{base}}\n\n#### Index a document with Id\nPUT {{base}}\/customer\/_doc\/1\nContent-Type: application\/json\n\n{\n \"name\": \"John Doe\"\n}\n\n\n#### Index a document without Id\nPOST {{base}}\/customer\/_doc\nContent-Type: application\/json\n\n{\n \"name\": \"John Doe\"\n}\n\n#### Get Mapping\nGET {{base}}\/customer\nContent-Type: application\/json\n\n{\n \"name\": \"John Doe\"\n}\n\n#### Get All Documents\nGET {{base}}\/customer\/_search\nContent-Type: application\/json\n\n#### Filter All Documents\nGET {{base}}\/customer\/_search\nContent-Type: application\/json\n\n{\n \"query\": { \"match_all\": {} }\n}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'elastic.http' did not match any file(s) known to git\n","license":"apache-2.0","lang":"HTTP"} {"commit":"4e52f219305e77be64955b6c1366529ed9ae5cdc","subject":"Create one off bill curl example","message":"Create one off bill curl example\n","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/03_resources\/bill\/02_create_a_one_off_bill\/code\/example.http","new_file":"source\/docs\/03_resources\/bill\/02_create_a_one_off_bill\/code\/example.http","new_contents":"","old_contents":"","returncode":128,"stderr":"fatal: unable to access 'https:\/\/github.com\/gocardless\/api-docs.git\/': The requested URL returned error: 403\n","license":"mit","lang":"HTTP"} {"commit":"3a78f60eafb4aa89de6cb69e16295c94e10ff73a","subject":"Added http file for the clientconfig endpoint","message":"Added http file for the clientconfig endpoint\n","repos":"Skatteetaten\/boober,Skatteetaten\/boober","old_file":"src\/main\/http\/get_clientconfig.http","new_file":"src\/main\/http\/get_clientconfig.http","new_contents":"","old_contents":"","returncode":128,"stderr":"fatal: unable to access 'https:\/\/github.com\/Skatteetaten\/boober.git\/': The requested URL returned error: 403\n","license":"apache-2.0","lang":"HTTP"} {"commit":"9595424fe4fc1a3a11e3e04c87284fcc0d54c920","subject":"User http example","message":"User http example\n","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/03_resources\/user\/02_list_all_users\/code\/example.http","new_file":"source\/docs\/03_resources\/user\/02_list_all_users\/code\/example.http","new_contents":"GET https:\/\/gocardless.com\/api\/v1\/merchants\/{MERCHANT_ID}\/users HTTP\/1.1\n\nHTTP\/1.1 200 OK\n[\n {\n \"created_at\":\"2011-11-18T17:06:15Z\",\n \"email\":\"customer40@gocardless.com\",\n \"id\": \"JKH8HGKL9H\",\n \"first_name\":\"Frank\",\n \"last_name\":\"Smith\"\n },\n {\n \"created_at\":\"2011-11-19T14:16:15Z\",\n \"email\":\"customer41@gocardless.com\",\n \"id\":\"JKH8HGKL9I\",\n \"first_name\":\"James\",\n \"last_name\":\"Dean\"\n }\n]\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'source\/docs\/03_resources\/user\/02_list_all_users\/code\/example.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"dc1a467eb3a6539cbab8d00005799d05c174f13e","subject":"New preauth http example","message":"New preauth http example\n","repos":"gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs,gocardless\/api-docs","old_file":"source\/docs\/03_resources\/preauthorization\/02_create_a_new_pre-authorization\/code\/example.http","new_file":"source\/docs\/03_resources\/preauthorization\/02_create_a_new_pre-authorization\/code\/example.http","new_contents":"GET https:\/\/gocardless.com\/connect\/pre_authorizations\/new?client_id=123ABC×tamp=2013-11-22T15%3A04%3A17.135Z&nonce=ABCDEF123%3D&pre_authorization[amount]=10.00&pre_authorization[interval_length]=1&pre_authorization[interval_unit]=month&pre_authorization[max_amount]=1000.00&pre_authorization[merchant_id]=06Z06JWQW1&signature=11abc2d3e1 HTTP\/1.1\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'source\/docs\/03_resources\/preauthorization\/02_create_a_new_pre-authorization\/code\/example.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"50e89fe283602d525c1e77a1963a0709199e2987","subject":"Queries for the tags endpoint","message":"Queries for the tags endpoint\n","repos":"gabesoft\/kapi","old_file":"queries\/xandar-tags.http","new_file":"queries\/xandar-tags.http","new_contents":"","old_contents":"","returncode":128,"stderr":"fatal: unable to access 'https:\/\/github.com\/gabesoft\/kapi.git\/': The requested URL returned error: 403\n","license":"bsd-3-clause","lang":"HTTP"} {"commit":"9a10b1570d6ab03408ebea216cb788477b0ca4e1","subject":"Copy changeDomainDelegation fixtures from developer repo","message":"Copy changeDomainDelegation fixtures from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/changeDomainDelegation\/success.http","new_file":"spec\/fixtures.http\/changeDomainDelegation\/success.http","new_contents":"HTTP\/1.1 200 OK\r\nServer: nginx\r\nDate: Thu, 24 Mar 2016 11:17:01 GMT\r\nContent-Type: application\/json; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nStatus: 200 OK\r\nX-RateLimit-Limit: 2400\r\nX-RateLimit-Remaining: 2392\r\nX-RateLimit-Reset: 1458821049\r\nETag: W\/\"cb540984f806b12ac437cc1f76092f90\"\r\nCache-Control: max-age=0, private, must-revalidate\r\nX-Request-Id: 0ea7bdd2-63ca-4eef-9c41-4a83d2fe0067\r\nX-Runtime: 2.845860\r\nStrict-Transport-Security: max-age=31536000\r\n\r\n{\"data\":[\"ns1.dnsimple.com\",\"ns2.dnsimple.com\",\"ns3.dnsimple.com\",\"ns4.dnsimple.com\"]}","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/changeDomainDelegation\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"4a7e27a4fd3b58398cb43134c69643a70e7da59e","subject":"Copy checkDomain fixture from developer repo","message":"Copy checkDomain fixture from developer repo\n","repos":"aetrion\/dnsimple-ruby","old_file":"spec\/fixtures.http\/checkDomain\/success.http","new_file":"spec\/fixtures.http\/checkDomain\/success.http","new_contents":"HTTP\/1.1 200 OK\nServer: nginx\nDate: Fri, 26 Feb 2016 16:04:05 GMT\nContent-Type: application\/json; charset=utf-8\nTransfer-Encoding: chunked\nConnection: keep-alive\nStatus: 200 OK\nX-RateLimit-Limit: 4000\nX-RateLimit-Remaining: 3999\nX-RateLimit-Reset: 1456506245\nETag: W\/\"f3cf8499e935e48401aae26842f712c4\"\nCache-Control: max-age=0, private, must-revalidate\nX-Request-Id: e3c6fac1-a36d-42c3-8a04-d68f127add18\nX-Runtime: 0.605907\nStrict-Transport-Security: max-age=31536000\n\n{\"data\":{\"domain\":\"ruby.codes\",\"available\":true,\"premium\":true}}\n","old_contents":"","returncode":1,"stderr":"error: pathspec 'spec\/fixtures.http\/checkDomain\/success.http' did not match any file(s) known to git\n","license":"mit","lang":"HTTP"} {"commit":"1d96a94a4ac72d2bfdaf016fa13748ae69e3a088","subject":"Create PUT_update_movie.http","message":"Create PUT_update_movie.http","repos":"bryanbarnard\/ISWQ2014,bryanbarnard\/ISWQ2014","old_file":"samples\/PUT_update_movie.http","new_file":"samples\/PUT_update_movie.http","new_contents":"","old_contents":"","returncode":128,"stderr":"fatal: unable to access 'https:\/\/github.com\/bryanbarnard\/ISWQ2014.git\/': The requested URL returned error: 403\n","license":"mit","lang":"HTTP"}