diff --git a/sam/docs/src/spec.json b/sam/docs/src/spec.json index 2d7d0c8ae..43ff86693 100644 --- a/sam/docs/src/spec.json +++ b/sam/docs/src/spec.json @@ -138,6 +138,17 @@ { "type": "uint64", "name": "organisation_id", "required": true, "title": "Organisation ID" } ] } + }, + { + "name": "merge", + "method": "POST", + "title": "Merge one team into another", + "parameters": { + "post": [ + { "type": "uint64", "name": "destination", "required": true, "title": "Destination Channel ID" }, + { "type": "uint64", "name": "source", "required": true, "title": "Source Channel ID" } + ] + } } ] }, @@ -214,17 +225,6 @@ { "type": "uint64", "name": "id", "required": true, "title": "Channel ID" } ] } - }, - { - "name": "merge", - "method": "POST", - "title": "Merge one team into another", - "parameters": { - "post": [ - { "type": "uint64", "name": "destination", "required": true, "title": "Destination Channel ID" }, - { "type": "uint64", "name": "source", "required": true, "title": "Source Channel ID" } - ] - } } ] }, diff --git a/sam/docs/src/spec/channel.json b/sam/docs/src/spec/channel.json index 8d59000fc..3b0f17682 100644 --- a/sam/docs/src/spec/channel.json +++ b/sam/docs/src/spec/channel.json @@ -131,28 +131,6 @@ } ] } - }, - { - "Name": "merge", - "Method": "POST", - "Title": "Merge one team into another", - "Path": "/merge", - "Parameters": { - "post": [ - { - "name": "destination", - "required": true, - "title": "Destination Channel ID", - "type": "uint64" - }, - { - "name": "source", - "required": true, - "title": "Source Channel ID", - "type": "uint64" - } - ] - } } ] } \ No newline at end of file diff --git a/sam/docs/src/spec/team.json b/sam/docs/src/spec/team.json index 14bb242b8..f92623d1d 100644 --- a/sam/docs/src/spec/team.json +++ b/sam/docs/src/spec/team.json @@ -143,6 +143,28 @@ } ] } + }, + { + "Name": "merge", + "Method": "POST", + "Title": "Merge one team into another", + "Path": "/merge", + "Parameters": { + "post": [ + { + "name": "destination", + "required": true, + "title": "Destination Channel ID", + "type": "uint64" + }, + { + "name": "source", + "required": true, + "title": "Source Channel ID", + "type": "uint64" + } + ] + } } ] } \ No newline at end of file