diff --git a/sam/docs/README.md b/sam/docs/README.md index 6762c1cac..8dab3d3cb 100644 --- a/sam/docs/README.md +++ b/sam/docs/README.md @@ -280,7 +280,7 @@ A channel is a representation of a sequence of messages. It has meta data like c | Parameter | Type | Method | Description | Default | Required? | | --------- | ---- | ------ | ----------- | ------- | --------- | | channelID | uint64 | PATH | Channel ID | N/A | YES | -| state | string | POST | Valid values: delete, restore, archive, unarchive | N/A | YES | +| state | string | POST | Valid values: delete, undelete, archive, unarchive | N/A | YES | ## Read channel details @@ -453,21 +453,6 @@ The following event types may be sent with a message event: | --------- | ---- | ------ | ----------- | ------- | --------- | | messageID | uint64 | PATH | Message ID | N/A | YES | -## Search messages - -#### Method - -| URI | Protocol | Method | Authentication | -| --- | -------- | ------ | -------------- | -| `/channels/{channelID}/messages/search` | HTTP/S | GET | Client ID, Session ID | - -#### Request parameters - -| Parameter | Type | Method | Description | Default | Required? | -| --------- | ---- | ------ | ----------- | ------- | --------- | -| query | string | GET | Search string to match against messages | N/A | NO | -| message_type | string | GET | Limit results to message type | N/A

Values: