All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scripts.1.26.0.1-apis-migration.js Maven / Gradle / Ivy

The newest version!

print('APIs migration');
db.apis.find().forEach(
    function (api) {
        print("    update the api", api._id);
        db.apis.updateOne(
            { _id: api._id },
            { $set: { apiLifecycleState: 'PUBLISHED' }});
    }
);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy