Loading
feat(topics): add organization_id to ListTopics and CreateTopic options
What
- Adds
OrganizationID *int64toListTopicsOptions(query parameter) andCreateTopicOptions(request body). UpdateTopicOptionsis unchanged: the update endpoint doesn't acceptorganization_id.- GitLab marks the create parameter as experimental, so the field's doc comment says it may change.
Tests
TestTopicsService_ListTopics_OrganizationIDchecks that the filter is sent.TestTopicsService_CreateTopic_OrganizationIDchecks that the field is in the request body.TestTopicsService_DeleteTopiccovers success, a request option error and a 404. It had no coverage before.
Related
Closes #2313 (closed)
Edited by Zubeen