Skip to content

Commit

Permalink
Fix tutorial (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
kukirokuk authored and leits committed Jun 11, 2018
1 parent fb9fdf3 commit 5f0ed89
Show file tree
Hide file tree
Showing 81 changed files with 4,606 additions and 1,658 deletions.
941 changes: 517 additions & 424 deletions docs.py

Large diffs are not rendered by default.

63 changes: 43 additions & 20 deletions docs/source/qualification/award-active-get.http
Original file line number Diff line number Diff line change
@@ -1,48 +1,71 @@
GET /api/2.3/auctions/6428763175bc491b9514dc7de4771281/awards/153fcdbbcfd64ab38b2279cc474787f8 HTTP/1.0
Authorization: Basic YnJva2VyOg==
GET /api/2.4/auctions/d841422b93d243be873935c64d9b04c5/awards/d70ffc5e83e14d02963ce093b2689b9b HTTP/1.0
Authorization: Basic YnJva2VyMzo=
Host: api-sandbox.ea.openprocurement.org


200 OK
Content-Type: application/json; charset=UTF-8
Content-Type: application/json
X-Content-Type-Options: nosniff

{
"data": {
"status": "active",
"complaintPeriod": {
"startDate": "2016-09-16T16:17:47.102502+03:00",
"endDate": "2016-09-20T16:17:47.350460+03:00"
"documents": [
{
"dateModified": "2018-06-11T11:16:58.228559+03:00",
"hash": "md5:00000000000000000000000000000000",
"description": "auction protocol",
"author": "auction_owner",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/2355460e763d45d793a3e5f20296dd44?KeyID=172d32c8&Signature=k5pdoN7oM7wqqwSN8Chf2NTB4zMu71Cp12fkBC9%2FRqpqDvGYpsln7fEKcqsz1NJWubPIvs%2Fw9bv6XW3cf0OKDg%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2018-06-11T11:16:58.228528+03:00",
"documentType": "auctionProtocol",
"title": "auction_protocol.pdf",
"id": "b5e4e116ed264e668592a1c84a777dc6"
}
],
"verificationPeriod": {
"startDate": "2018-06-11T11:16:58.058569+03:00",
"endDate": "2018-06-11T11:16:58.500031+03:00"
},
"signingPeriod": {
"startDate": "2018-06-11T11:16:58.058569+03:00",
"endDate": "2018-06-11T11:57:14.851583+03:00"
},
"suppliers": [
{
"contactPoint": {
"email": "soleksuk@gmail.com",
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк"
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "ДКП «Школяр»",
"name": "Державне управління справами",
"address": {
"postalCode": "21100",
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Островського, 33",
"region": "м. Вінниця",
"locality": "м. Вінниця"
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
],
"bid_id": "3025ae6f8d824e92bd539db93f8a1956",
"complaintPeriod": {
"startDate": "2018-06-11T11:16:57.220195+03:00",
"endDate": "2018-06-11T11:16:58.500031+03:00"
},
"bid_id": "6e61c6ec3a544db4a2550e68c58ad0b7",
"value": {
"currency": "UAH",
"amount": 475.0,
"amount": 300.0,
"valueAddedTaxIncluded": true
},
"date": "2016-09-16T16:17:47.360413+03:00",
"id": "153fcdbbcfd64ab38b2279cc474787f8"
"date": "2018-06-11T11:16:58.514774+03:00",
"id": "d70ffc5e83e14d02963ce093b2689b9b"
}
}

34 changes: 12 additions & 22 deletions docs/source/qualification/award-active-unsuccessful-upload.http
Original file line number Diff line number Diff line change
@@ -1,36 +1,26 @@
POST /api/2.3/auctions/259c7703ce68422e8c436195e56505bf/awards/7d925e654ad942bd865f4bac5c6e34d1/documents?acc_token=90b60080a3a045f2b487d17fbbccf77a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 382
Content-Type: application/json
POST /api/2.4/auctions/f788c5f54c7148ab976016a6e9fdd99b/awards/a47f6758c4ea47ef8626a287b5be43c6/documents?acc_token=b2343f38d55f4b2c82bf8602023b4faa HTTP/1.0
Authorization: Basic YnJva2VyMzo=
Content-Length: 198
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy315947312362$
Host: api-sandbox.ea.openprocurement.org

{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/67a0367308ce4269b22fa529bd772b79?KeyID=4a8daaf3&Signature=fl6vi6S9a5XBXhBXpljZdlUPpYcQoG01LzhyfOMWeIzySemTOo%2FibA62MLZYHJRh3AL3hsgu7ADOkl1tKe90DQ%3D%3D",
"title": "Disqualified_reason.pdf",
"hash": "md5:00000000000000000000000000000000",
"description": "Disqualification reason",
"format": "application/pdf"
}
}


201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/259c7703ce68422e8c436195e56505bf/awards/7d925e654ad942bd865f4bac5c6e34d1/documents/a98b4c463580499bb1a47c92f918485c
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.4/auctions/f788c5f54c7148ab976016a6e9fdd99b/awards/a47f6758c4ea47ef8626a287b5be43c6/documents/d2192a515f8e42109851528b20caea98
X-Content-Type-Options: nosniff

{
"data": {
"dateModified": "2018-03-13T14:17:00.666701+02:00",
"hash": "md5:00000000000000000000000000000000",
"description": "Disqualification reason",
"author": "auction_owner",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/67a0367308ce4269b22fa529bd772b79?KeyID=4a8daaf3&Signature=8uduzwaCrRZAEQLjv9b3qK3M9PjBGb%2FKnbQR8bXUueGXAQGFHV50QRRPNAuhjXS6%2F1eJ6JA5EqxFaCH6VQ4GBg%253D%253D",
"title": "rejection_protocol.pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/18f4d31ebb3e4404abdda5c0acd47c0a?KeyID=172d32c8&Signature=ccJuyUi1ypuE5TEl5atUV7fvirNEeb55VxD%252BB4jOzz6ZsINdDaeS4d%252BmIU9R4%252BVNrQL21DS8Tm3v5auhpKDVBg%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T14:17:00.666680+02:00",
"title": "Disqualified_reason.pdf",
"id": "a98b4c463580499bb1a47c92f918485c"
"datePublished": "2018-06-11T16:35:18.493856+03:00",
"dateModified": "2018-06-11T16:35:18.493906+03:00",
"id": "d2192a515f8e42109851528b20caea98"
}
}

63 changes: 43 additions & 20 deletions docs/source/qualification/award-pending-active.http
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PATCH /api/2.3/auctions/6428763175bc491b9514dc7de4771281/awards/153fcdbbcfd64ab38b2279cc474787f8?acc_token=fa248967de2244439451050d2499166d HTTP/1.0
Authorization: Basic YnJva2VyOg==
PATCH /api/2.4/auctions/d841422b93d243be873935c64d9b04c5/awards/d70ffc5e83e14d02963ce093b2689b9b?acc_token=5324e18f698b4fb49f647c842c32a91a HTTP/1.0
Authorization: Basic YnJva2VyMzo=
Content-Length: 30
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
Expand All @@ -12,45 +12,68 @@ Host: api-sandbox.ea.openprocurement.org


200 OK
Content-Type: application/json; charset=UTF-8
Content-Type: application/json
X-Content-Type-Options: nosniff

{
"data": {
"status": "active",
"complaintPeriod": {
"startDate": "2016-09-16T16:17:47.102502+03:00",
"endDate": "2016-09-20T16:17:47.350460+03:00"
"documents": [
{
"dateModified": "2018-06-11T11:16:58.228559+03:00",
"hash": "md5:00000000000000000000000000000000",
"description": "auction protocol",
"author": "auction_owner",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/2355460e763d45d793a3e5f20296dd44?KeyID=172d32c8&Signature=k5pdoN7oM7wqqwSN8Chf2NTB4zMu71Cp12fkBC9%2FRqpqDvGYpsln7fEKcqsz1NJWubPIvs%2Fw9bv6XW3cf0OKDg%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2018-06-11T11:16:58.228528+03:00",
"documentType": "auctionProtocol",
"title": "auction_protocol.pdf",
"id": "b5e4e116ed264e668592a1c84a777dc6"
}
],
"verificationPeriod": {
"startDate": "2018-06-11T11:16:58.058569+03:00",
"endDate": "2018-06-11T11:16:58.500031+03:00"
},
"signingPeriod": {
"startDate": "2018-06-11T11:16:58.058569+03:00",
"endDate": "2018-06-11T11:57:14.851583+03:00"
},
"suppliers": [
{
"contactPoint": {
"email": "soleksuk@gmail.com",
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк"
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "ДКП «Школяр»",
"name": "Державне управління справами",
"address": {
"postalCode": "21100",
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Островського, 33",
"region": "м. Вінниця",
"locality": "м. Вінниця"
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
],
"bid_id": "3025ae6f8d824e92bd539db93f8a1956",
"complaintPeriod": {
"startDate": "2018-06-11T11:16:57.220195+03:00",
"endDate": "2018-06-11T11:16:58.500031+03:00"
},
"bid_id": "6e61c6ec3a544db4a2550e68c58ad0b7",
"value": {
"currency": "UAH",
"amount": 475.0,
"amount": 300.0,
"valueAddedTaxIncluded": true
},
"date": "2016-09-16T16:17:47.360413+03:00",
"id": "153fcdbbcfd64ab38b2279cc474787f8"
"date": "2018-06-11T11:16:58.514774+03:00",
"id": "d70ffc5e83e14d02963ce093b2689b9b"
}
}

44 changes: 28 additions & 16 deletions docs/source/qualification/award-pending-unsuccessful.http
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PATCH /api/2.3/auctions/6428763175bc491b9514dc7de4771281/awards/0be2b9c4dc4b43a8a203b239d726a74f?acc_token=fa248967de2244439451050d2499166d HTTP/1.0
Authorization: Basic YnJva2VyOg==
PATCH /api/2.4/auctions/f788c5f54c7148ab976016a6e9fdd99b/awards/a47f6758c4ea47ef8626a287b5be43c6?acc_token=b2343f38d55f4b2c82bf8602023b4faa HTTP/1.0
Authorization: Basic YnJva2VyMzo=
Content-Length: 36
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
Expand All @@ -12,27 +12,35 @@ Host: api-sandbox.ea.openprocurement.org


200 OK
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/6428763175bc491b9514dc7de4771281/awards/153fcdbbcfd64ab38b2279cc474787f8
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.4/auctions/f788c5f54c7148ab976016a6e9fdd99b/awards/2e8fb2f78e5d403f8517b80b98894358
X-Content-Type-Options: nosniff

{
"data": {
"status": "unsuccessful",
"documents": [
{
"dateModified": "2018-06-11T16:35:18.493906+03:00",
"hash": "md5:00000000000000000000000000000000",
"description": "rejection protocol",
"author": "auction_owner",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/18f4d31ebb3e4404abdda5c0acd47c0a?KeyID=172d32c8&Signature=ccJuyUi1ypuE5TEl5atUV7fvirNEeb55VxD%252BB4jOzz6ZsINdDaeS4d%252BmIU9R4%252BVNrQL21DS8Tm3v5auhpKDVBg%253D%253D",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/ceec00f1e1fe45d4823b6cff73a5e6e2?KeyID=278be238&Signature=GSt%2FNNdHL%252BgkEhjgxHCBjmWNNVMei%2FQA%252BZ65LBLXAxaZbYdfeLDwfvaGA0Wi%2FwCkAczFZKDsUkK0m5NItNxtDQ%253D%253D",
"title": "Unsuccessful_Reason.pdf",
"documentOf": "tender",
"datePublished": "2016-09-16T16:17:46.934420+03:00",
"dateModified": "2016-09-16T16:17:46.934449+03:00",
"id": "b52b77a5e21b4f7cafd0c9f44ca7932f"
"datePublished": "2018-06-11T16:35:18.493856+03:00",
"documentType": "rejectionProtocol",
"title": "rejection_protocol.pdf",
"id": "d2192a515f8e42109851528b20caea98"
}
],
"complaintPeriod": {
"startDate": "2016-09-16T16:17:46.702347+03:00",
"endDate": "2016-09-20T16:17:47.101766+03:00"
"verificationPeriod": {
"startDate": "2018-06-11T16:35:18.145518+03:00",
"endDate": "2018-06-11T16:35:18.733959+03:00"
},
"signingPeriod": {
"startDate": "2018-06-11T16:35:18.145518+03:00",
"endDate": "2018-06-11T17:15:21.674583+03:00"
},
"suppliers": [
{
Expand All @@ -55,14 +63,18 @@ Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/6428763175b
}
}
],
"bid_id": "5e687c10e6964f3087d491a63b692a02",
"complaintPeriod": {
"startDate": "2018-06-11T16:35:18.145518+03:00",
"endDate": "2018-06-11T16:35:18.733959+03:00"
},
"bid_id": "2f76dc5eb2e14b5bbc0ac488c21d43d5",
"value": {
"currency": "UAH",
"amount": 479.0,
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2016-09-16T16:17:47.113324+03:00",
"id": "0be2b9c4dc4b43a8a203b239d726a74f"
"date": "2018-06-11T16:35:18.747618+03:00",
"id": "a47f6758c4ea47ef8626a287b5be43c6"
}
}

26 changes: 14 additions & 12 deletions docs/source/qualification/award-pending-upload.http
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
POST /api/2.3/auctions/6428763175bc491b9514dc7de4771281/awards/0be2b9c4dc4b43a8a203b239d726a74f/documents?acc_token=fa248967de2244439451050d2499166d HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 344
POST /api/2.4/auctions/97220a271daa48faaae51d29771fbb88/awards/41e1409aba4045f8bc887ec7bcb9ac12/documents?acc_token=65731d2d152b44c88f15331890f3d5d6 HTTP/1.0
Authorization: Basic YnJva2VyMzo=
Content-Length: 343
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org

{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/ceec00f1e1fe45d4823b6cff73a5e6e2?KeyID=278be238&Signature=xuIgYzql%2By8kTVjeTDgkirEqWHJXVgwjw17fzyw3vmwlejlibzdpjPJyDqKEm6E0xilYrz%2Fq%2FSe4oeTMnF2DCg%3D%3D",
"title": "Unsuccessful_Reason.pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d84f57581b9644dda2ce1c9494eaf5bb?KeyID=172d32c8&Signature=WaikauIYiEalYepLD%2Fb4a5Et3V0X1ZXveQLmhC7cpgir%2B6uI%2F0t3R7pnZ7yWthtHv%2FpIBBc6sR6eoNrnqvm8CQ%3D%3D",
"title": "auction_protocol.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}


201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/6428763175bc491b9514dc7de4771281/awards/0be2b9c4dc4b43a8a203b239d726a74f/documents/b52b77a5e21b4f7cafd0c9f44ca7932f
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.4/auctions/97220a271daa48faaae51d29771fbb88/awards/41e1409aba4045f8bc887ec7bcb9ac12/documents/35135216fca54f028f89185c5cdc7854
X-Content-Type-Options: nosniff

{
"data": {
"hash": "md5:00000000000000000000000000000000",
"author": "auction_owner",
"title": "auction_protocol.pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d84f57581b9644dda2ce1c9494eaf5bb?KeyID=172d32c8&Signature=w%2F6FHASVITtCdylMlrRPQ4757gBqNYNoBYkRSFSq7UeTtUlMouhBsjlIWt0oEEl%2F8wzp2vabf6xtwtdjjrhgDA%253D%253D",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/ceec00f1e1fe45d4823b6cff73a5e6e2?KeyID=278be238&Signature=GSt%2FNNdHL%252BgkEhjgxHCBjmWNNVMei%2FQA%252BZ65LBLXAxaZbYdfeLDwfvaGA0Wi%2FwCkAczFZKDsUkK0m5NItNxtDQ%253D%253D",
"title": "Unsuccessful_Reason.pdf",
"documentOf": "tender",
"datePublished": "2016-09-16T16:17:46.934420+03:00",
"dateModified": "2016-09-16T16:17:46.934449+03:00",
"id": "b52b77a5e21b4f7cafd0c9f44ca7932f"
"datePublished": "2018-06-11T16:35:44.189225+03:00",
"dateModified": "2018-06-11T16:35:44.189251+03:00",
"id": "35135216fca54f028f89185c5cdc7854"
}
}

35 changes: 35 additions & 0 deletions docs/source/qualification/award-pending.waiting-upload.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
POST /api/2.4/auctions/d841422b93d243be873935c64d9b04c5/awards/d70ffc5e83e14d02963ce093b2689b9b/documents?acc_token=5324e18f698b4fb49f647c842c32a91a HTTP/1.0
Authorization: Basic YnJva2VyMzo=
Content-Length: 337
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org

{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/2355460e763d45d793a3e5f20296dd44?KeyID=172d32c8&Signature=DY0uvA7r6tQXTnDyt2C7O%2FIAiLelEevDfchvsft6K7eo73DxMLqVHH8y4i8W74WemLMXdGGFJGNxdK8vN5QXAg%3D%3D",
"title": "auction_protocol.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}


201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.4/auctions/d841422b93d243be873935c64d9b04c5/awards/d70ffc5e83e14d02963ce093b2689b9b/documents/b5e4e116ed264e668592a1c84a777dc6
X-Content-Type-Options: nosniff

{
"data": {
"hash": "md5:00000000000000000000000000000000",
"author": "auction_owner",
"title": "auction_protocol.pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/2355460e763d45d793a3e5f20296dd44?KeyID=172d32c8&Signature=k5pdoN7oM7wqqwSN8Chf2NTB4zMu71Cp12fkBC9%2FRqpqDvGYpsln7fEKcqsz1NJWubPIvs%2Fw9bv6XW3cf0OKDg%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2018-06-11T11:16:58.228528+03:00",
"dateModified": "2018-06-11T11:16:58.228559+03:00",
"id": "b5e4e116ed264e668592a1c84a777dc6"
}
}

0 comments on commit 5f0ed89

Please sign in to comment.