Creates Device API resource.