+Sample Request:\r
+==============\r
+\r
++----------------------------------------------------------------------------------------------------+\r
+| GET http://<hostname>:3904/events/com.att.dmaap.mr.sprint/mygroup/mycus |\r
+| Content-Type: application/json |\r
+| Example: |\r
+|curl -u XXX@csp.abc.com:MRDmap2016$ -X GET -d 'MyfirstMessage' | \r
+|http://mrlocal00.dcae.proto.research.att.com:3904/events/com.att.ecomp_test.crm.preDeo/myG/C1 |\r
+|[I am r sending first msg,I am R sending first msg] |\r
++----------------------------------------------------------------------------------------------------+\r
+\r
+Provisioning\r
+------------\r
+**Description**: To create , modify or delete the MessageRouter topics. Generally Invenio application will use these below apis to create , assign topics to the users. These APIs can also be used by other applications to provision topics in MessageRouter\r
+\r
+Create Topic\r
+============\r
+Request URL:\r
+============\r
+\r
+POST http(s)://{HOST:PORT}/topics/create\r
+\r
+Request Parameters:\r
+==================\r
+\r
++----------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-----------------------------------+\r
+| Name | Description | Param Type | data type | MaxLen | Req\92d | Format | Valid/Example Values |\r
+| | | | | | | | |\r
++----------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-----------------------------------+\r
+| Topicname | topicname to be created in MR | Body | String | 20 | Y | Json | com.att.dmaap.mr.metrics |\r
++----------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-----------------------------------+ \r
+|topicDescription| description for topic | Body | String | 15 | Y | | |\r
++----------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-----------------------------------+ \r
+|partitionCount | Kafka topic partition | Body | String | 1 | Y | | |\r
++----------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-----------------------------------+ \r
+|replicationCount| Kafka topic replication | Body | String | 1 | Y | | 3 (Default -for 3 node Kafka ) |\r
++----------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-----------------------------------+ \r
+|transaction |to create transaction id for | Body | Boolean | | | | |\r
+| | each message transaction | | | 1 | N | | true |\r
+| Enabled | | | | | | | | \r
++----------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-----------------------------------+ \r
+|Content-Type | application/json | Header | String | | | | application/json |\r
++----------------+---------------------------------+------------------+------------+--------------+-------------+-------------+-----------------------------------+\r
+\r
++---------------------------+------------------------------------+\r
+| Response statusCode | Response statusMessage |\r
++===========================+====================================+\r
+| 200-299 | Success |\r
++---------------------------+------------------------------------+\r
+| 400-499 | the client request has a problem |\r
++---------------------------+------------------------------------+\r
+| 500-599 | the DMaaP service has a problem |\r
++---------------------------+------------------------------------+\r
+\r
++-------------------------+-----------------+--------------------------------------------------+\r
+| Error code | HTTP Code | Description |\r
++-------------------------+-----------------+--------------------------------------------------+\r
+| DMaaP\_MR\_ERR\_5001 | 500 | Failed to retrieve list of all topics | +-------------------------+-----------------+--------------------------------------------------+\r
+| DMaaP\_MR\_ERR\_5002 | 500 | Failed to retrieve details of topic:<topicName> | |+-------------------------+----------------+--------------------------------------------------+\r
+| DMaaP\_MR\_ERR\_5003 | 500 |Failed to create topic:<topicName> | +-------------------------+-----------------+--------------------------------------------------+\r
+| DMaaP\_MR\_ERR\_5004 | 500 | Failed to delete topic:<topicName> | +-------------------------+-----------------+--------------------------------------------------+\r
+\r
+Response Parameters\r
+====================\r
+\r
++------------------+--------------------------------+------------+--------------+-----------------------------------------------------------+\r
+| Name | Description | Type | Format | Valid/Example Values |\r
++==================+================================+============+==============+===========================================================+\r
+| httpStatusCode | | | | 200, 201 etc. |\r
++------------------+--------------------------------+------------+--------------+-----------------------------------------------------------+\r
+| mrErrorCode | Numeric error code | | |5005 |\r
++------------------+--------------------------------+------------+--------------+-----------------------------------------------------------+\r
+| errorMessage | | | | SUCCESS, or error message. |\r
++------------------+--------------------------------+------------+--------------+-----------------------------------------------------------+\r
+| helpURL | helpurl | | | |\r
++------------------+--------------------------------+------------+--------------+-----------------------------------------------------------+\r
+| ResponseBody | Topic details (owner, | | | |\r
+| | trxEnabled=true) | Json | Json | |\r
++------------------+--------------------------------+------------+--------------+-----------------------------------------------------------+\r
+\r
+\r
+Sample Request:\r
+==============\r