API-call to determine Nextcloud/ownCloud?

Is there a way to find out with a script whether a server runs Nextcloud or ownCloud?

You could use versions, since ownCloud doesn’t have 11, 12 or 13 :slight_smile:

I also thought about that. But there is also Nextcloud 9 and 10. And maybe one day there will be ownCloud 11…??

Then you’d use capabilities to see which features are supported and which ones are not.

1 Like

Uhm. That’s quite an effort. Isn’t there a more simple way?

For the record - here is my solution:

I am searching for the strings ownCloud or Nextcloud in