Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

overwrite=true query param on POST requests to /projects/{project_id}/refs/{ref_id}/elements #347

Open
baswelsh opened this issue Nov 20, 2020 · 2 comments

Comments

@baswelsh
Copy link

I don't believe the query param overwrite=true on POST requests to /projects/{project_id}/refs/{ref_id}/elements is supported by the mms python client. The API docs (https://mms.openmbee.org/alfresco/mms/index.html#api-Element-postElements) also don't include it as a parameter. The swagger generated python client currently rejects the parameter – likely because it is not included in the OpenAPI spec.

Are there plans to update the OpenAPI spec to include this parameter? It has been recommended that we include this parameter in POST requests but are currently unable to via the mms_python_client.

python 3.7
mms_python_client 4.0.0a3
MMS 3.3.0 (I think) - Service URL: https://mms.openmbee.org/alfresco/service

@HuiJun
Copy link
Collaborator

HuiJun commented Nov 23, 2020

Hello, thanks for the bug report. We are working to update the OpenAPI spec for the 3.4.3 release, which should be released this week.

@baswelsh
Copy link
Author

Perfect. Thanks, @HuiJun!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants