3.291.0 release notes
about 2 hours ago by ReadMe API
- ⚠️ Breaking changes
- Replaced
collectionIdwithcollectionIdsandprimaryCollectionIdin knowledge base article requests and responses. OnPOST /public-api/resources/knowledge-base-articles/v1.0, both new fields are required;collectionIdsmust contain at least one collection and include the primary collection. OnPATCH /public-api/resources/knowledge-base-articles/v1.0/{article}, the new fields are optional, but the primary collection must belong to the resulting collection list. The response change also affectsGET /public-api/resources/knowledge-base-articles/v1.0,GET /public-api/resources/knowledge-base-articles/v1.0/{article},GET /public-api/resources/knowledge-base-articles/v1.0/{article}/versions, andGET /public-api/resources/knowledge-base-articles/v1.0/{article}/versions/{version}. - Removed
parentIdfrom knowledge base collection responses and prohibited it in create and update requests. This affectsGETandPOST /public-api/resources/knowledge-base-collections/v1.0andGETandPATCH /public-api/resources/knowledge-base-collections/v1.0/{collection}; consumers must stop sending the field and relying on collection hierarchies. - Changed
POST /public-api/actions/reimbursement-report/v1.0/{reimbursementReport}/regenerateto return409 Conflictwhen the report has a self-invoice, instead of accepting regeneration.
- Replaced
- ✨ New features
- Added
tagsto knowledge base article responses and as an optional request field onPOST /public-api/resources/knowledge-base-articles/v1.0andPATCH /public-api/resources/knowledge-base-articles/v1.0/{article}. Article list and detail responses also includetagsonGET /public-api/resources/knowledge-base-articles/v1.0andGET /public-api/resources/knowledge-base-articles/v1.0/{article}. - Added
filter[tag]toGET /public-api/resources/knowledge-base-articles/v1.0and expandedfilter[collectionId]to match articles belonging to any of their collections, not just their primary collection. - Added the optional
iconfield to knowledge base collection requests and responses onGETandPOST /public-api/resources/knowledge-base-collections/v1.0andGETandPATCH /public-api/resources/knowledge-base-collections/v1.0/{collection}. Sendnullon update to clear an icon. - Added optional
partnerReportIdandoperatorReportIdfields to reimbursement report responses onGET /public-api/resources/reimbursement-reports/v1.0,GET /public-api/resources/reimbursement-reports/v1.0/{reimbursementReport},POST /public-api/actions/reimbursement-report/v1.0/{reimbursementReport}/set-custom-fields, andPOST /public-api/actions/reimbursement-report/v1.0/{reimbursementReport}/set-paid-status. Addedfilter[partnerReportId]andfilter[operatorReportId]to the list endpoint to find associated user reports. - Added support for the
markup and discounttariff type and itsmarkupDiscountSettingsonPOST /public-api/resources/tariffs/v1.0andPUTandPATCH /public-api/resources/tariffs/v1.0/{tariff}. The type and settings can also appear in responses from these endpoints,GET /public-api/resources/tariffs/v1.0,GET /public-api/resources/tariffs/v1.0/{tariff},GET /public-api/resources/tariff-snapshots/v1.0/{tariffSnapshot}, andPOST /public-api/actions/tariff/v1.0/{tariff}/set-custom-fields.
- Added
- 🔧 Improvements
- Expanded issue resource references to include the
reportvalue forresourceTypeonGETandPOST /public-api/resources/issues/v1.0andGETandPATCH /public-api/resources/issues/v1.0/{issue}. Addedreportas an acceptedfilter[keyResourceType]value on the list endpoint.
- Expanded issue resource references to include the
