Skip to content

Commit

Permalink
feat(civicinfo)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### civicinfo:v2
The following keys were deleted:
- etag
- parameters.userIp.description
- parameters.userIp.location
- parameters.userIp.type
- resources.divisions.methods.search.request.$ref
- resources.elections.methods.electionQuery.request.$ref
- resources.elections.methods.voterInfoQuery.request.$ref
- resources.representatives.methods.representativeInfoByAddress.parameters.levels.enumDescriptions
- resources.representatives.methods.representativeInfoByAddress.parameters.roles.enumDescriptions
- resources.representatives.methods.representativeInfoByAddress.request.$ref
- resources.representatives.methods.representativeInfoByDivision.parameters.levels.enumDescriptions
- resources.representatives.methods.representativeInfoByDivision.parameters.roles.enumDescriptions
- resources.representatives.methods.representativeInfoByDivision.request.$ref
- schemas.AdministrativeBody.properties.addressLines.items.type
- schemas.AdministrativeBody.properties.addressLines.type
- schemas.ContextParams.id
- schemas.ContextParams.properties.clientProfile.type
- schemas.ContextParams.type
- schemas.DivisionRepresentativeInfoRequest.description
- schemas.DivisionRepresentativeInfoRequest.id
- schemas.DivisionRepresentativeInfoRequest.properties.contextParams.$ref
- schemas.DivisionRepresentativeInfoRequest.type
- schemas.DivisionSearchRequest.description
- schemas.DivisionSearchRequest.id
- schemas.DivisionSearchRequest.properties.contextParams.$ref
- schemas.DivisionSearchRequest.type
- schemas.ElectionsQueryRequest.id
- schemas.ElectionsQueryRequest.properties.contextParams.$ref
- schemas.ElectionsQueryRequest.type
- schemas.ElectoralDistrict.properties.kgForeignKey.type
- schemas.FieldMetadataProto.id
- schemas.FieldMetadataProto.properties.internal.$ref
- schemas.FieldMetadataProto.type
- schemas.InternalFieldMetadataProto.id
- schemas.InternalFieldMetadataProto.properties.isAuto.type
- schemas.InternalFieldMetadataProto.properties.sourceSummary.$ref
- schemas.InternalFieldMetadataProto.type
- schemas.InternalSourceSummaryProto.id
- schemas.InternalSourceSummaryProto.properties.dataset.type
- schemas.InternalSourceSummaryProto.properties.provider.type
- schemas.InternalSourceSummaryProto.type
- schemas.PointProto.id
- schemas.PointProto.properties.latE7.format
- schemas.PointProto.properties.latE7.type
- schemas.PointProto.properties.lngE7.format
- schemas.PointProto.properties.lngE7.type
- schemas.PointProto.properties.metadata.$ref
- schemas.PointProto.type
- schemas.PostalAddress.id
- schemas.PostalAddress.properties.addressLines.items.type
- schemas.PostalAddress.properties.addressLines.type
- schemas.PostalAddress.properties.administrativeAreaName.type
- schemas.PostalAddress.properties.countryName.type
- schemas.PostalAddress.properties.countryNameCode.type
- schemas.PostalAddress.properties.dependentLocalityName.type
- schemas.PostalAddress.properties.dependentThoroughfareName.type
- schemas.PostalAddress.properties.firmName.type
- schemas.PostalAddress.properties.isDisputed.type
- schemas.PostalAddress.properties.languageCode.type
- schemas.PostalAddress.properties.localityName.type
- schemas.PostalAddress.properties.postBoxNumber.type
- schemas.PostalAddress.properties.postalCodeNumber.type
- schemas.PostalAddress.properties.postalCodeNumberExtension.type
- schemas.PostalAddress.properties.premiseName.type
- schemas.PostalAddress.properties.recipientName.type
- schemas.PostalAddress.properties.sortingCode.type
- schemas.PostalAddress.properties.subAdministrativeAreaName.type
- schemas.PostalAddress.properties.subPremiseName.type
- schemas.PostalAddress.properties.thoroughfareName.type
- schemas.PostalAddress.properties.thoroughfareNumber.type
- schemas.PostalAddress.type
- schemas.Provenance.id
- schemas.Provenance.properties.collidedSegmentSource.$ref
- schemas.Provenance.properties.ctclContestUuid.type
- schemas.Provenance.properties.ctclOfficeUuid.type
- schemas.Provenance.properties.datasetId.format
- schemas.Provenance.properties.datasetId.type
- schemas.Provenance.properties.precinctId.format
- schemas.Provenance.properties.precinctId.type
- schemas.Provenance.properties.precinctSplitId.format
- schemas.Provenance.properties.precinctSplitId.type
- schemas.Provenance.properties.tsStreetSegmentId.type
- schemas.Provenance.properties.vip5PrecinctId.type
- schemas.Provenance.properties.vip5StreetSegmentId.type
- schemas.Provenance.properties.vipStreetSegmentId.format
- schemas.Provenance.properties.vipStreetSegmentId.type
- schemas.Provenance.type
- schemas.RepresentativeInfoData.properties.divisions.additionalProperties.description
- schemas.RepresentativeInfoRequest.description
- schemas.RepresentativeInfoRequest.id
- schemas.RepresentativeInfoRequest.properties.contextParams.$ref
- schemas.RepresentativeInfoRequest.type
- schemas.RepresentativeInfoResponse.properties.divisions.additionalProperties.description
- schemas.StreetSegment.id
- schemas.StreetSegment.properties.administrationRegionIds.items.type
- schemas.StreetSegment.properties.administrationRegionIds.type
- schemas.StreetSegment.properties.beforeGeocodeId.type
- schemas.StreetSegment.properties.catalistUniquePrecinctCode.type
- schemas.StreetSegment.properties.city.type
- schemas.StreetSegment.properties.cityCouncilDistrict.type
- schemas.StreetSegment.properties.congressionalDistrict.type
- schemas.StreetSegment.properties.contestIds.items.type
- schemas.StreetSegment.properties.contestIds.type
- schemas.StreetSegment.properties.countyCouncilDistrict.type
- schemas.StreetSegment.properties.countyFips.type
- schemas.StreetSegment.properties.datasetId.format
- schemas.StreetSegment.properties.datasetId.type
- schemas.StreetSegment.properties.earlyVoteSiteByIds.items.type
- schemas.StreetSegment.properties.earlyVoteSiteByIds.type
- schemas.StreetSegment.properties.endHouseNumber.format
- schemas.StreetSegment.properties.endHouseNumber.type
- schemas.StreetSegment.properties.geocodedPoint.$ref
- schemas.StreetSegment.properties.geographicDivisionOcdIds.items.type
- schemas.StreetSegment.properties.geographicDivisionOcdIds.type
- schemas.StreetSegment.properties.id.type
- schemas.StreetSegment.properties.judicialDistrict.type
- schemas.StreetSegment.properties.mailOnly.type
- schemas.StreetSegment.properties.municipalDistrict.type
- schemas.StreetSegment.properties.ncoaAddress.type
- schemas.StreetSegment.properties.oddOrEvens.items.type
- schemas.StreetSegment.properties.oddOrEvens.type
- schemas.StreetSegment.properties.originalId.type
- schemas.StreetSegment.properties.pollinglocationByIds.items.type
- schemas.StreetSegment.properties.pollinglocationByIds.type
- schemas.StreetSegment.properties.precinctName.type
- schemas.StreetSegment.properties.precinctOcdId.type
- schemas.StreetSegment.properties.provenances.items.$ref
- schemas.StreetSegment.properties.provenances.type
- schemas.StreetSegment.properties.published.type
- schemas.StreetSegment.properties.schoolDistrict.type
- schemas.StreetSegment.properties.startHouseNumber.format
- schemas.StreetSegment.properties.startHouseNumber.type
- schemas.StreetSegment.properties.startLatE7.format
- schemas.StreetSegment.properties.startLatE7.type
- schemas.StreetSegment.properties.startLngE7.format
- schemas.StreetSegment.properties.startLngE7.type
- schemas.StreetSegment.properties.state.type
- schemas.StreetSegment.properties.stateHouseDistrict.type
- schemas.StreetSegment.properties.stateSenateDistrict.type
- schemas.StreetSegment.properties.streetName.type
- schemas.StreetSegment.properties.subAdministrativeAreaName.type
- schemas.StreetSegment.properties.surrogateId.format
- schemas.StreetSegment.properties.surrogateId.type
- schemas.StreetSegment.properties.targetsmartUniquePrecinctCode.type
- schemas.StreetSegment.properties.townshipDistrict.type
- schemas.StreetSegment.properties.unitNumber.type
- schemas.StreetSegment.properties.unitType.type
- schemas.StreetSegment.properties.vanPrecinctCode.type
- schemas.StreetSegment.properties.voterGeographicDivisionOcdIds.items.type
- schemas.StreetSegment.properties.voterGeographicDivisionOcdIds.type
- schemas.StreetSegment.properties.wardDistrict.type
- schemas.StreetSegment.properties.wildcard.type
- schemas.StreetSegment.properties.zip.type
- schemas.StreetSegment.type
- schemas.StreetSegmentList.id
- schemas.StreetSegmentList.properties.segments.items.$ref
- schemas.StreetSegmentList.properties.segments.type
- schemas.StreetSegmentList.type
- schemas.VoterInfoRequest.description
- schemas.VoterInfoRequest.id
- schemas.VoterInfoRequest.properties.contextParams.$ref
- schemas.VoterInfoRequest.properties.voterInfoSegmentResult.$ref
- schemas.VoterInfoRequest.type
- schemas.VoterInfoResponse.properties.segments.items.$ref
- schemas.VoterInfoResponse.properties.segments.type
- schemas.VoterInfoSegmentResult.id
- schemas.VoterInfoSegmentResult.properties.generatedMillis.format
- schemas.VoterInfoSegmentResult.properties.generatedMillis.type
- schemas.VoterInfoSegmentResult.properties.postalAddress.$ref
- schemas.VoterInfoSegmentResult.properties.request.$ref
- schemas.VoterInfoSegmentResult.properties.response.$ref
- schemas.VoterInfoSegmentResult.type

The following keys were added:
- mtlsRootUrl
- parameters.$.xgafv.description
- parameters.$.xgafv.enum
- parameters.$.xgafv.enumDescriptions
- parameters.$.xgafv.location
- parameters.$.xgafv.type
- parameters.access_token.description
- parameters.access_token.location
- parameters.access_token.type
- parameters.callback.description
- parameters.callback.location
- parameters.callback.type
- parameters.uploadType.description
- parameters.uploadType.location
- parameters.uploadType.type
- parameters.upload_protocol.description
- parameters.upload_protocol.location
- parameters.upload_protocol.type
- resources.divisions.methods.search.flatPath
- resources.divisions.methods.search.parameterOrder
- resources.elections.methods.electionQuery.flatPath
- resources.elections.methods.electionQuery.parameterOrder
- resources.elections.methods.voterInfoQuery.flatPath
- resources.representatives.methods.representativeInfoByAddress.flatPath
- resources.representatives.methods.representativeInfoByAddress.parameterOrder
- resources.representatives.methods.representativeInfoByDivision.flatPath
- schemas.Contest.properties.level.enumDescriptions
- schemas.Contest.properties.level.items.enum
- schemas.Contest.properties.primaryParties.description
- schemas.Contest.properties.primaryParties.items.type
- schemas.Contest.properties.primaryParties.type
- schemas.Contest.properties.roles.enumDescriptions
- schemas.Contest.properties.roles.items.enum
- schemas.ElectoralDistrict.properties.scope.enum
- schemas.ElectoralDistrict.properties.scope.enumDescriptions
- schemas.Office.properties.levels.enumDescriptions
- schemas.Office.properties.levels.items.enum
- schemas.Office.properties.roles.enumDescriptions
- schemas.Office.properties.roles.items.enum
- version_module

The following keys were changed:
- baseUrl
- batchPath
- documentationLink
- icons.x16
- icons.x32
- parameters.alt.description
- parameters.alt.enum
- parameters.alt.enumDescriptions
- parameters.quotaUser.description
- resources.divisions.methods.search.path
- resources.elections.methods.electionQuery.path
- resources.elections.methods.voterInfoQuery.parameters.electionId.description
- resources.elections.methods.voterInfoQuery.parameters.returnAllAvailableData.description
- resources.elections.methods.voterInfoQuery.path
- resources.representatives.methods.representativeInfoByAddress.parameters.address.description
- resources.representatives.methods.representativeInfoByAddress.parameters.levels.enum
- resources.representatives.methods.representativeInfoByAddress.parameters.roles.enum
- resources.representatives.methods.representativeInfoByAddress.path
- resources.representatives.methods.representativeInfoByDivision.parameters.levels.enum
- resources.representatives.methods.representativeInfoByDivision.parameters.roles.enum
- resources.representatives.methods.representativeInfoByDivision.path
- rootUrl
- schemas.Contest.properties.primaryParty.description
- schemas.DivisionSearchResult.properties.ocdId.description
- schemas.GeographicDivision.properties.alsoKnownAs.description
- schemas.RepresentativeInfoData.properties.divisions.description
- schemas.RepresentativeInfoResponse.properties.divisions.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 10, 2020
1 parent ed14465 commit a164b5c
Show file tree
Hide file tree
Showing 2 changed files with 274 additions and 791 deletions.

0 comments on commit a164b5c

Please sign in to comment.