Closed ryparker closed 2 weeks ago
Hello. We have created a ticket for this.
Hello @ryparker - can you confirm or correct if update date dates now match between the list and detail levels? FYI - the format is a different piece of this puzzle but we have a ticket in the queue to streamline this, too. Thanks!
It looks like the updateDate formats and times still differ.
List API: 2024-06-17 20:36:10+00:00
Details API: 2024-06-17T20:41:11Z
list api for congress 118 (same curl as OP):
{
"pagination": {
"count": 807,
"next": "https://api.congress.gov/v3/committee-report/118?offset=20&limit=20&format=json"
},
"reports": [
{
"chamber": "House",
"citation": "H. Rept. 118-554",
"congress": 118,
"number": 554,
"part": 1,
"type": "HRPT",
"updateDate": "2024-06-17 20:36:10+00:00",
"url": "https://api.congress.gov/v3/committee-report/118/HRPT/554?format=json"
},
...
Details for HRPT 554 of 118th
{
"committeeReports": [
{
"associatedBill": [
{
"congress": 118,
"number": "8771",
"type": "HR",
"url": "https://api.congress.gov/v3/bill/118/hr/8771?format=json"
}
],
"chamber": "House",
"citation": "H. Rept. 118-554",
"committees": [
{
"name": "Appropriations Committee",
"systemCode": "hsap00",
"url": "https://api.congress.gov/v3/committee/house/hsap00?format=json"
}
],
"congress": 118,
"isConferenceReport": false,
"issueDate": "2024-06-14T04:00:00Z",
"number": 554,
"part": 1,
"reportType": "H.Rept.",
"sessionNumber": 2,
"text": {
"count": 2,
"url": "https://api.congress.gov/v3/committee-report/118/hrpt/554/text?format=json"
},
"title": "STATE, FOREIGN OPERATIONS, AND RELATED PROGRAMS APPROPRIATIONS BILL, 2025",
"type": "HRPT",
"updateDate": "2024-06-17T20:41:11Z"
}
],
"request": {
"congress": "118",
"contentType": "application/json",
"format": "json",
"reportNumber": "554",
"reportType": "hrpt"
}
}
@ryparker Hi Ryan - strange! When I look at the list level here is what I see for 118 HRept 554:
and then for the detail level for the same report:
I am wondering if there was a recent update to this one and the list level displayed the updated <updateDate>
element before the detail level? If so, I will keep an eye out for other examples of this.
We hope to have the <updateDate>
formats adjusted this summer, too, so that they all display in the same format.
Oh this is interesting. I may have called the list API just before an update, and called the details API just after the update. I see that 2024-06-17 20:56:10+00:00
was only 9 minutes ago and my previous comment was about 21 minutes ago, so there must be some operation running on the data right now.
I'll test again this evening.
Thanks @ryparker - if you notice anything that requires us to investigate, please let us know and we will take a look!
Looks like the updateDate values (not format) are matching up.
The committee-report API list response's
updateDate
is in a format the differs from the details response. Also there are some dates that do not match between the two responses.For example: hrpt416 (118th) list API:
2024-03-18 22:23:46+00:00
hrpt416 (118th) detail API:2024-03-18T12:56:12Z
Request list API
List response:
Notice the list API's
updateDate
for hrept 416 is2024-03-18 22:23:46+00:00
:Request details of hrept 416
Details response:
list api:
2024-03-18 22:23:46+00:00
details api:2024-03-18T12:56:12Z
I had expected the date format and time to be the same.