Hi all! New here and trying to understand what rep...
# replication-troubleshooting
z
Hi all! New here and trying to understand what replaced the
/api/v1/deployment/import
endpoint?
n
Hi Zvika! I am not familiar with that endpoint and don't see it mentioned anywhere. What version of Airbyte were you using it with? Can you link to any sources that describe it? Here is the current API documentation: https://airbyte-public-api-docs.s3.us-east-2.amazonaws.com/rapidoc-api-docs.html#post-/v1/workspaces/create
z
You can check the documentation page for upgrading all the way on the bottom. https://docs.airbyte.com/operator-guides/upgrading-airbyte
n
Sorry , I don't follow - how is that document related to your question? Could you tell me what version of Airbyte you're using currently and which version you were using before?
z
Copy code
If you prefer to import and export your data via API instead the UI, follow these instructions:

Instead of Step 3 above use the following curl command to export the archive:

curl -H "Content-Type: application/json" -X POST localhost:8000/api/v1/deployment/export --output /tmp/airbyte_archive.tar.gz


Instead of Step X above user the following curl command to import the migrated archive:

curl -H "Content-Type: application/x-gzip" -X POST localhost:8000/api/v1/deployment/import --data-binary @<path to arhive>
This is in your documentation however those endpoints don’t exist anymore.
This works in version 0.39.x
u
Ah, got it! Thank you for bringing this up. It looks like this feature is not available anymore - if you look closely, this is under the section
Upgrading on K8s (0.26.4-alpha and below)
. Feel free to open a feature request on GitHub for this if you want!
z
Understood, I just want to know if anything replaced it. I can dig into the code if you can point me.
u
Hi Zvika! I've been working on tracking this down, but no dice so far! I suppose the best way to dig into this further would be to go down the history of git blames and file a documentation bug report!