| Property | Details |
|---|---|
| URL: | https://www2.swcombine.com/ws/v2.0/news/simnews/{id:\d+}[/] |
| Method: | GET |
| Description: | Gets a representation of the specified Sim News items. |
| Pattern Description: |
id (Mandatory): Post id |
| Rate Limited: | No |
| Query String: | N/A |
| Parameters: | N/A |
| Requires Authentication: | No |
| Permissions: | N/A |
| Returns: |
200 OK: Returns a Sim News post 400 Bad Request: One or more of the provided parameters was invalid 404 Not Found: Post not found. |
| Examples: |
GET /ws/v2.0/news/simnews/11/
JSON{
"version": "2.0",
"timestamp": 1767225600,
"resource": "news_item",
"request": "/ws/v2.0/news/simnews/11/",
"swcapi": {
"newsitem": {
"url": "https://www.swcombine.com/community/simnews/index.php?display=2&postID=11",
"logo": "/images//news/simnews/.jpg",
"author": "Kira Vane",
"editor": "",
"wasedited": "false",
"edited": {
"years": 0,
"days": 1,
"hours": 0,
"mins": 0,
"secs": 0,
"timestamp": "912668400"
},
"title": "Title1",
"body": "Body1",
"posted": {
"years": 27,
"days": 298,
"hours": 10,
"mins": 35,
"secs": 18,
"timestamp": 1767225600
},
"id": 11,
"category": "Technical"
}
}
}
XML<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="news_item" request="/ws/v2.0/news/simnews/11/">
<newsitem>
<url>https://www.swcombine.com/community/simnews/index.php?display=2&postID=11</url>
<logo>/images//news/simnews/.jpg</logo>
<author>Kira Vane</author>
<editor/>
<wasedited>false</wasedited>
<edited>
<years>0</years>
<days>1</days>
<hours>0</hours>
<mins>0</mins>
<secs>0</secs>
<timestamp>912668400</timestamp>
</edited>
<title>Title1</title>
<body>Body1</body>
<posted>
<years>27</years>
<days>298</days>
<hours>10</hours>
<mins>35</mins>
<secs>18</secs>
<timestamp>1767225600</timestamp>
</posted>
<id>11</id>
<category>Technical</category>
</newsitem>
</swcapi>
|